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
error: environment variable `HOST` not defined at compile time
--> /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.10.0/src/common.rs:402:19
|
402 | host: env!("HOST").to_string(),
| ^^^^^^^^^^^^
|
= help: Cargo sets build script variables at run time. Use `std::env::var("HOST")` instead
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `compiletest_rs` (lib) due to previous error
this currently breaks tests of clippy and rustcs x.py check
Workaround is to run HOST="" cargo test or HOST="" ./x.py check.
I wonder why this is needed at all, what is compiletest expecting here?
Can we use option_env and unwrap_or_default maybe?
The text was updated successfully, but these errors were encountered:
this currently breaks tests of clippy and rustcs
x.py check
Workaround is to run
HOST="" cargo test
orHOST="" ./x.py check
.I wonder why this is needed at all, what is compiletest expecting here?
Can we use
option_env
andunwrap_or_default
maybe?The text was updated successfully, but these errors were encountered: