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
Describe the bug
When running fly launch for the first time in a Rust cargo workspace with many crates, the error pasted below is printed
This happens again if the command is retried.
What works is to go into the subfolder/crate that contains the binary we want to deploy. The build fails however, because it doesn't find the root Cargo.toml file. Copying the generated Dockerfile out to the root of the workspace/repo finally did the job.
Describe the bug
When running
fly launch
for the first time in a Rust cargo workspace with many crates, the error pasted below is printedThis happens again if the command is retried.
What works is to go into the subfolder/crate that contains the binary we want to deploy. The build fails however, because it doesn't find the root Cargo.toml file. Copying the generated Dockerfile out to the root of the workspace/repo finally did the job.
fly v0.3.49 darwin/arm64 Commit: 9b0779fe9a366c881450a188f04cb97f06d1f24c BuildDate: 2024-12-10T14:59:45Z
Paste your
fly.toml
: no fly.toml at that point, it would be created by the commandCommand output:
The text was updated successfully, but these errors were encountered: