about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2022-02-26 12:56:23 -0800
committerGitHub <noreply@github.com>2022-02-26 12:56:23 -0800
commit5f49d4c8435a25d804b2f375e949cb25479f5be9 (patch)
treed969c418bbbda017059ad85debb33d6c55bca93c /compiler/rustc_codegen_gcc/example/std_example.rs
parent78a18c3433c13bbd6259242185667c385eafe859 (diff)
parent20fa4b76235afb6a2ad543781a10a14e8013b143 (diff)
downloadrust-5f49d4c8435a25d804b2f375e949cb25479f5be9.tar.gz
rust-5f49d4c8435a25d804b2f375e949cb25479f5be9.zip
rust-lang/portable-simd#239: Bitmask conversion trait
Another approach that fixes rust-lang/portable-simd#223, as an alternative to rust-lang/portable-simd#238.

This adds the `ToBitMask` trait, which is implemented on a vector for each bitmask type it supports.  This includes all unsigned integers with enough bits to contain it.  The byte array variant has been separated out for now into rust-lang/portable-simd#246 and still requires `generic_const_exprs`, but the integer variants no longer require it and can make it to nightly.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions