mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
12 lines
516 B
Plaintext
12 lines
516 B
Plaintext
error: environment variable `CARGO__HOPEFULLY_NOT_DEFINED__` not defined at compile time
|
|
--> $DIR/extenv-not-defined-default.rs:2:5
|
|
|
|
|
LL | env!("CARGO__HOPEFULLY_NOT_DEFINED__");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: Cargo sets build script variables at run time. Use `std::env::var("CARGO__HOPEFULLY_NOT_DEFINED__")` instead
|
|
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to previous error
|
|
|