You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new version compiler use --deps to support this feature. But has some issues:
compile error
A: solve with --no-stdlib
$ ./target/debug/compiler ~/hello.mvir --address 0x1
thread 'main' panicked at 'Failed to compile script: Duplicate dependency module for 00000000000000000000000000000001.Signer', language/compiler/src/main.rs:144:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
no output file, output file is in the same folder of ~/hello.mvir -> ~/hello.mv
discussion is here
PR is here
The idea is add
--stdlib-root ~/repos/bcx/libra/language/stdlib/
argument to set stdlib root path, that the Move compiler can find Move stdlib.Improvement:
Use
-I
to set library path such as GCC/Clang:The text was updated successfully, but these errors were encountered: