1
Fork 0
rust/compiler/rustc_codegen_ssa/src
bors 5197c96c49 Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead
The `<*const T>::guaranteed_*` methods now return an option for the unknown case

cc https://github.com/rust-lang/rust/issues/53020#issuecomment-1236932443

I chose `0` for "not equal" and `1` for "equal" and left `2` for the unknown case so backends can just forward to raw pointer equality and it works 

r? `@fee1-dead` or `@lcnr`

cc `@rust-lang/wg-const-eval`
2022-09-10 09:50:21 +00:00
..
back Fix CI failures on windows and aarch64-linux 2022-09-06 14:05:54 +04:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo Use enum2<_> instead of enum<_> for Cpp-like debuginfo enum type names. 2022-08-12 10:53:07 +02:00
mir Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead 2022-09-10 09:50:21 +00:00
traits Remove dead broken code from const zst handling in backends 2022-09-06 14:09:49 +00:00
base.rs Fix CI failures on windows and aarch64-linux 2022-09-06 14:05:54 +04:00
common.rs rustc_codegen_ssa: derive copy and clone for various enums 2022-05-25 10:34:35 +02:00
glue.rs use unchecked mul to compute slice sizes 2022-06-14 17:09:07 -04:00
lib.rs change stdlib circular dependencies handling 2022-09-06 14:05:54 +04:00
meth.rs Simplify get_trait_ref a bit 2022-08-29 04:19:14 +00:00
mono_item.rs Add codegen for global_asm! sym operands 2022-04-15 14:36:30 +01:00
target_features.rs feat: Target features for 1st group of RISC-V Bitmanip extensions 2022-08-14 12:09:44 +02:00