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
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
In my project, I need to use --cfg to build. I tried using RUSTFLAGS or config.toml to pass --cfg, which works for cargo build but does not work for cargo mirai
It should be same ascargo build without any errors.
Actual Results
error[E0425]: cannot find function `func1` in this scope
--> src/lib.rs:6:9
|
6 | func1()
| ^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `timing_channels` (lib) due to previous error
Issue
In my project, I need to use
--cfg
to build. I tried usingRUSTFLAGS
orconfig.toml
to pass--cfg
, which works forcargo build
but does not work forcargo mirai
Steps to Reproduce
./.cargo/config.toml
or
Expected Behavior
It should be same as
cargo build
without any errors.Actual Results
Environment
The text was updated successfully, but these errors were encountered: