FT icon indicating copy to clipboard operation
FT copied to clipboard

no cargo.toml file

Open gorbunov79 opened this issue 3 years ago • 1 comments

hi, I tried to run script 'build' or cargo build - returns error "error: could not find Cargo.toml in ...\FT or any parent directory"

for me it helped to add cargo.toml to main dir.

[profile.release] codegen-units = 1 opt-level = "z" lto = true debug = false panic = "abort" overflow-checks = true

[workspace] members = [ "ft", "test-contract-defi", ] exclude = [ "integration-tests" ]

gorbunov79 avatar Aug 01 '22 19:08 gorbunov79

To build using cargo run:

cd ft && cargo build

The build script doesn't have an issue with Cargo.toml

cd scripts && ./build.sh

What platform are you using?

zavodil avatar Aug 05 '22 15:08 zavodil