mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-06 04:40:22 +00:00
22 lines
985 B
Plaintext
22 lines
985 B
Plaintext
warning: unexpected `cfg` condition name: `target_architecture`
|
|
--> $DIR/compact-names.rs:12:28
|
|
|
|
|
LL | #[cfg(target(os = "linux", architecture = "arm"))]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(target_architecture, values("arm"))`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
warning: unexpected `cfg` condition name: `target_architecture`
|
|
--> $DIR/compact-names.rs:16:30
|
|
|
|
|
LL | #[cfg(target(os = "windows", architecture = "arm"))]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(target_architecture, values("arm"))`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: 2 warnings emitted
|
|
|