Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no cargo.toml file #118

Open
gorbunov79 opened this issue Aug 1, 2022 · 1 comment
Open

no cargo.toml file #118

gorbunov79 opened this issue Aug 1, 2022 · 1 comment
Assignees

Comments

@gorbunov79
Copy link

gorbunov79 commented Aug 1, 2022

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"
]

@zavodil zavodil self-assigned this Aug 5, 2022
@zavodil
Copy link
Contributor

zavodil commented Aug 5, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants