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
-Zallow-features makes it possible to restrict which unstable features are used. Anyhow uses the backtrace feature if it detects it to be available. This check uses CARGO_ENCODED_RUSTFLAGS which contains the rustflags required for compiling for the host. When using RUSTFLAGS="-Zallow-features=" cargo build --target x86_64-unknown-linux-gnu, CARGO_ENCODED_RUSTFLAGS doesn't contain -Zallow-features=, so anyhow thinks the backtrace feature is available, however when compiling anyhow for the target -Zallow-features= is passed to rustc and thus the compilation fails.
The text was updated successfully, but these errors were encountered:
-Zallow-features
makes it possible to restrict which unstable features are used. Anyhow uses the backtrace feature if it detects it to be available. This check usesCARGO_ENCODED_RUSTFLAGS
which contains the rustflags required for compiling for the host. When usingRUSTFLAGS="-Zallow-features=" cargo build --target x86_64-unknown-linux-gnu
,CARGO_ENCODED_RUSTFLAGS
doesn't contain-Zallow-features=
, so anyhow thinks the backtrace feature is available, however when compiling anyhow for the target-Zallow-features=
is passed to rustc and thus the compilation fails.The text was updated successfully, but these errors were encountered: