Auto merge of #137836 - madsmtm:openwrt-target-vendor, r=jieyouxu · rust-lang/rust@b9ea82b (original) (raw)
5 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -23,6 +23,7 @@ pub(crate) fn target() -> Target { | ||
23 | 23 | data_layout: "E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(), |
24 | 24 | arch: "mips64".into(), |
25 | 25 | options: TargetOptions { |
26 | +vendor: "openwrt".into(), | |
26 | 27 | abi: "abi64".into(), |
27 | 28 | endian: Endian::Big, |
28 | 29 | mcount: "_mcount".into(), |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,7 +14,7 @@ warning: unexpected `cfg` condition value: `value` | ||
14 | 14 | LL | #[cfg(target_vendor = "value")] |
15 | 15 | | ^^^^^^^^^^^^^^^^^^^^^^^ |
16 | 16 | | |
17 | - = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
17 | + = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
18 | 18 | = note: see https://doc.rust-lang.org/nightly/rustc/check-cfg.html for more information about checking conditional configuration |
19 | 19 | |
20 | 20 | warning: unexpected `cfg` condition name: `feature` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -15,7 +15,7 @@ warning: unexpected `cfg` condition value: `value` | ||
15 | 15 | LL | #[cfg(target_vendor = "value")] |
16 | 16 | | ^^^^^^^^^^^^^^^^^^^^^^^ |
17 | 17 | | |
18 | - = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
18 | + = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
19 | 19 | = note: see https://doc.rust-lang.org/nightly/rustc/check-cfg.html for more information about checking conditional configuration |
20 | 20 | |
21 | 21 | warning: unexpected `cfg` condition value: `unk` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -15,7 +15,7 @@ warning: unexpected `cfg` condition value: `value` | ||
15 | 15 | LL | #[cfg(target_vendor = "value")] |
16 | 16 | | ^^^^^^^^^^^^^^^^^^^^^^^ |
17 | 17 | | |
18 | - = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
18 | + = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
19 | 19 | = note: see https://doc.rust-lang.org/nightly/rustc/check-cfg.html for more information about checking conditional configuration |
20 | 20 | |
21 | 21 | warning: unexpected `cfg` condition value: `unk` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -230,7 +230,7 @@ warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` | ||
230 | 230 | LL | target_vendor = "_UNEXPECTED_VALUE", |
231 | 231 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
232 | 232 | | |
233 | - = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
233 | + = note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs` | |
234 | 234 | = note: see https://doc.rust-lang.org/nightly/rustc/check-cfg.html for more information about checking conditional configuration |
235 | 235 | |
236 | 236 | warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |