interpret: correctly deal with repr(transparent) enums#156105
Conversation
|
rustbot has assigned @nikomatsakis. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
r? lcnr @bors r+ rollup |
interpret: correctly deal with repr(transparent) enums Fixes rust-lang/miri#4998
interpret: correctly deal with repr(transparent) enums Fixes rust-lang/miri#4998
Rollup of 12 pull requests Successful merges: - #155341 (generic_const_args: allow paths to non type consts) - #156062 (Added command-line argument support for `wasm32-wali-linux-musl`) - #156159 ([AIX] add -bdbg:namedsects:ss link arg) - #156174 (Wasm: remove implicit `__heap_base`/`__data_end` exports) - #156186 (fix: remap ci-llvm debug paths via `-ffile-prefix-map`) - #156193 (port `rustc_ast*` crates from `box_` to `deref_patterns`) - #156201 (Don't run ui-fulldeps tests twice in stage 1) - #155808 (Always use `ConstFn` context for `const` closures) - #156105 (interpret: correctly deal with repr(transparent) enums) - #156148 (Use `all_impls` instead of handrolling it) - #156156 (Adjust getMCSubtargetInfo signature for LLVM 23+) - #156205 (move generalization test)
Rollup of 15 pull requests Successful merges: - #151122 (fix: more descriptive error message for enum to integer) - #155341 (generic_const_args: allow paths to non type consts) - #156062 (Added command-line argument support for `wasm32-wali-linux-musl`) - #156159 ([AIX] add -bdbg:namedsects:ss link arg) - #156174 (Wasm: remove implicit `__heap_base`/`__data_end` exports) - #156186 (fix: remap ci-llvm debug paths via `-ffile-prefix-map`) - #156193 (port `rustc_ast*` crates from `box_` to `deref_patterns`) - #156201 (Don't run ui-fulldeps tests twice in stage 1) - #155808 (Always use `ConstFn` context for `const` closures) - #156105 (interpret: correctly deal with repr(transparent) enums) - #156148 (Use `all_impls` instead of handrolling it) - #156156 (Adjust getMCSubtargetInfo signature for LLVM 23+) - #156170 (add known-bug test for coroutine 'static-yields-non-'static unsoundness (#144442)) - #156195 (Move tests codegen) - #156205 (move generalization test)
Rollup of 15 pull requests Successful merges: - #151122 (fix: more descriptive error message for enum to integer) - #155341 (generic_const_args: allow paths to non type consts) - #156062 (Added command-line argument support for `wasm32-wali-linux-musl`) - #156159 ([AIX] add -bdbg:namedsects:ss link arg) - #156174 (Wasm: remove implicit `__heap_base`/`__data_end` exports) - #156186 (fix: remap ci-llvm debug paths via `-ffile-prefix-map`) - #156193 (port `rustc_ast*` crates from `box_` to `deref_patterns`) - #156201 (Don't run ui-fulldeps tests twice in stage 1) - #155808 (Always use `ConstFn` context for `const` closures) - #156105 (interpret: correctly deal with repr(transparent) enums) - #156148 (Use `all_impls` instead of handrolling it) - #156156 (Adjust getMCSubtargetInfo signature for LLVM 23+) - #156170 (add known-bug test for coroutine 'static-yields-non-'static unsoundness (#144442)) - #156195 (Move tests codegen) - #156205 (move generalization test)
Rollup of 15 pull requests Successful merges: - #151122 (fix: more descriptive error message for enum to integer) - #155341 (generic_const_args: allow paths to non type consts) - #156062 (Added command-line argument support for `wasm32-wali-linux-musl`) - #156159 ([AIX] add -bdbg:namedsects:ss link arg) - #156174 (Wasm: remove implicit `__heap_base`/`__data_end` exports) - #156186 (fix: remap ci-llvm debug paths via `-ffile-prefix-map`) - #156193 (port `rustc_ast*` crates from `box_` to `deref_patterns`) - #156201 (Don't run ui-fulldeps tests twice in stage 1) - #155808 (Always use `ConstFn` context for `const` closures) - #156105 (interpret: correctly deal with repr(transparent) enums) - #156148 (Use `all_impls` instead of handrolling it) - #156156 (Adjust getMCSubtargetInfo signature for LLVM 23+) - #156170 (add known-bug test for coroutine 'static-yields-non-'static unsoundness (#144442)) - #156195 (Move tests codegen) - #156205 (move generalization test)
Rollup merge of #156105 - RalfJung:transparent-enums, r=lcnr interpret: correctly deal with repr(transparent) enums Fixes rust-lang/miri#4998
Rollup of 15 pull requests Successful merges: - rust-lang/rust#151122 (fix: more descriptive error message for enum to integer) - rust-lang/rust#155341 (generic_const_args: allow paths to non type consts) - rust-lang/rust#156062 (Added command-line argument support for `wasm32-wali-linux-musl`) - rust-lang/rust#156159 ([AIX] add -bdbg:namedsects:ss link arg) - rust-lang/rust#156174 (Wasm: remove implicit `__heap_base`/`__data_end` exports) - rust-lang/rust#156186 (fix: remap ci-llvm debug paths via `-ffile-prefix-map`) - rust-lang/rust#156193 (port `rustc_ast*` crates from `box_` to `deref_patterns`) - rust-lang/rust#156201 (Don't run ui-fulldeps tests twice in stage 1) - rust-lang/rust#155808 (Always use `ConstFn` context for `const` closures) - rust-lang/rust#156105 (interpret: correctly deal with repr(transparent) enums) - rust-lang/rust#156148 (Use `all_impls` instead of handrolling it) - rust-lang/rust#156156 (Adjust getMCSubtargetInfo signature for LLVM 23+) - rust-lang/rust#156170 (add known-bug test for coroutine 'static-yields-non-'static unsoundness (rust-lang/rust#144442)) - rust-lang/rust#156195 (Move tests codegen) - rust-lang/rust#156205 (move generalization test)
Rollup of 15 pull requests Successful merges: - rust-lang/rust#151122 (fix: more descriptive error message for enum to integer) - rust-lang/rust#155341 (generic_const_args: allow paths to non type consts) - rust-lang/rust#156062 (Added command-line argument support for `wasm32-wali-linux-musl`) - rust-lang/rust#156159 ([AIX] add -bdbg:namedsects:ss link arg) - rust-lang/rust#156174 (Wasm: remove implicit `__heap_base`/`__data_end` exports) - rust-lang/rust#156186 (fix: remap ci-llvm debug paths via `-ffile-prefix-map`) - rust-lang/rust#156193 (port `rustc_ast*` crates from `box_` to `deref_patterns`) - rust-lang/rust#156201 (Don't run ui-fulldeps tests twice in stage 1) - rust-lang/rust#155808 (Always use `ConstFn` context for `const` closures) - rust-lang/rust#156105 (interpret: correctly deal with repr(transparent) enums) - rust-lang/rust#156148 (Use `all_impls` instead of handrolling it) - rust-lang/rust#156156 (Adjust getMCSubtargetInfo signature for LLVM 23+) - rust-lang/rust#156170 (add known-bug test for coroutine 'static-yields-non-'static unsoundness (rust-lang/rust#144442)) - rust-lang/rust#156195 (Move tests codegen) - rust-lang/rust#156205 (move generalization test)
|
@rust-timer build 918aaa3 Testing for #156217. |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (918aaa3): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 2.2%, secondary -0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 493.455s -> 494.183s (0.15%) |
|
Huh, this seems to have the same regression as #155808. |
|
Probably flaky tests that keep flipping between two states. |
Fixes rust-lang/miri#4998