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
/bin/lfc test/Rust/src/Minimal.lf
Generating code for: file:/home/cmenard/projects/lingua-franca/test/Rust/src/Minimal.lf
******** mode: STANDALONE
******** source file: /home/cmenard/projects/lingua-franca/test/Rust/src/Minimal.lf
******** generated sources: /home/cmenard/projects/lingua-franca/test/Rust/src-gen/Minimal
--- Current working directory: /home/cmenard/projects/lingua-franca/test/Rust/src-gen/Minimal
--- Executing command: cargo +nightly build --out-dir /home/cmenard/projects/lingua-franca/test/Rust/bin -Z unstable-options --message-format json-diagnostic-rendered-ansi
lfc: error: cargo failed with error code 101
--> (unknown file):null:1 - cargo failed with error code 101
lfc: fatal error: Aborting due to previous error
I have only tested this with lfc, but I suspect that also the IDE will not show a useful error message here.
The error message reported by cargo in this case is:
error: failed to load manifest for workspace member `/home/cmenard/projects/lingua-franca/test/Rust/src-gen/foo`
Caused by:
failed to read `/home/cmenard/projects/lingua-franca/test/Rust/src-gen/foo/Cargo.toml`
Caused by:
No such file or directory (os error 2)
The text was updated successfully, but these errors were encountered:
A simple way to reproduce this:
mkdir -p test/Rust/src-gen/foo
lfc test/Rust/src/Minimal.lf
This prints:
I have only tested this with lfc, but I suspect that also the IDE will not show a useful error message here.
The error message reported by cargo in this case is:
The text was updated successfully, but these errors were encountered: