rust/tests/ui/check-cfg
Matthias Krüger 088e698835
Rollup merge of #132077 - alexcrichton:wide-arithmetic, r=jieyouxu
Add a new `wide-arithmetic` feature for WebAssembly

This commit adds a new rustc target feature named `wide-arithmetic` for WebAssembly targets. This corresponds to the [wide-arithmetic] proposal for WebAssembly which adds new instructions catered towards accelerating integer arithmetic larger than 64-bits. This proposal to WebAssembly is not standard yet so this new feature is flagged as an unstable target feature. Additionally Rust's LLVM version doesn't support this new feature yet since support will first be added in LLVM 20, so the feature filtering logic for LLVM is updated to handle this.

I'll also note that I'm not currently planning to add wasm-specific intrinsics to `std::arch::wasm32` at this time. The currently proposed instructions are all accessible through `i128` or `u128`-based operations which Rust already supports, so intrinsic shouldn't be necessary to get access to these new instructions.

[wide-arithmetic]: https://github.com/WebAssembly/wide-arithmetic
2024-11-05 23:43:57 +01:00
..
allow-at-crate-level.rs
allow-macro-cfg.rs
allow-same-level.rs
allow-same-level.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
allow-top-level.rs
allow-upper-level.rs
cargo-build-script.rs Don't suggest adding the unexpected cfgs the build-script it-self 2024-05-22 20:58:57 +02:00
cargo-build-script.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
cargo-feature.none.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
cargo-feature.rs
cargo-feature.some.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
cfg-value-for-cfg-name-duplicate.rs
cfg-value-for-cfg-name-duplicate.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
cfg-value-for-cfg-name-multiple.rs
cfg-value-for-cfg-name-multiple.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
cfg-value-for-cfg-name.rs
cfg-value-for-cfg-name.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
compact-names.rs
compact-names.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
compact-values.rs
compact-values.stderr
concat-values.rs
concat-values.stderr
diagnotics.cargo.stderr
diagnotics.rs
diagnotics.rustc.stderr
empty-values.rs
empty-values.stderr
exhaustive-names-values.empty_cfg.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
exhaustive-names-values.feature.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
exhaustive-names-values.full.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
exhaustive-names-values.rs
exhaustive-names.rs
exhaustive-names.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
exhaustive-values.empty_cfg.stderr
exhaustive-values.rs
exhaustive-values.without_names.stderr
invalid-arguments.any_values.stderr
invalid-arguments.anything_else.stderr
invalid-arguments.boolean.stderr
invalid-arguments.cfg_none.stderr
invalid-arguments.giberich.stderr
invalid-arguments.ident_in_values_1.stderr
invalid-arguments.ident_in_values_2.stderr
invalid-arguments.mixed_any.stderr
invalid-arguments.mixed_values_any.stderr
invalid-arguments.multiple_any.stderr
invalid-arguments.multiple_values_any.stderr
invalid-arguments.multiple_values.stderr
invalid-arguments.none_not_empty.stderr
invalid-arguments.not_empty_any.stderr
invalid-arguments.not_empty_values_any.stderr
invalid-arguments.rs Reject leading unsafe in cfg!(...) and --check-cfg. 2024-09-30 12:15:08 +02:00
invalid-arguments.string_for_name_1.stderr
invalid-arguments.string_for_name_2.stderr
invalid-arguments.unknown_meta_item_1.stderr
invalid-arguments.unknown_meta_item_2.stderr
invalid-arguments.unknown_meta_item_3.stderr
invalid-arguments.unsafe_attr.stderr Reject leading unsafe in cfg!(...) and --check-cfg. 2024-09-30 12:15:08 +02:00
invalid-arguments.unterminated.stderr
invalid-arguments.values_any_before_ident.stderr
invalid-arguments.values_any_missing_values.stderr
mix.rs
mix.stderr Add a new wide-arithmetic feature for WebAssembly 2024-10-28 08:11:47 -07:00
my-awesome-platform.json
no-expected-values.empty.stderr
no-expected-values.mixed.stderr
no-expected-values.rs
no-expected-values.simple.stderr
order-independant.rs
order-independant.values_after.stderr
order-independant.values_before.stderr
raw-keywords.edition2015.stderr Improve handling of raw-idents in check-cfg 2024-09-18 11:07:32 +02:00
raw-keywords.edition2021.stderr Improve handling of raw-idents in check-cfg 2024-09-18 11:07:32 +02:00
raw-keywords.rs Improve handling of raw-idents in check-cfg 2024-09-18 11:07:32 +02:00
stmt-no-ice.rs
stmt-no-ice.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
unexpected-cfg-name.rs
unexpected-cfg-name.stderr
unexpected-cfg-value.rs
unexpected-cfg-value.stderr
unknown-values.rs
values-none.concat_1.stderr
values-none.concat_2.stderr
values-none.explicit.stderr
values-none.implicit.stderr
values-none.rs
values-none.simple.stderr
values-target-json.rs
well-known-names.rs
well-known-names.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
well-known-values.rs fmt-debug option 2024-08-28 23:32:40 +01:00
well-known-values.stderr Rollup merge of #132077 - alexcrichton:wide-arithmetic, r=jieyouxu 2024-11-05 23:43:57 +01:00