-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #59695 - Centril:rollup-88qffc2, r=Centril
Rollup of 8 pull requests Successful merges: - #59470 (Document std::fs::File close behavior ignoring errors) - #59555 (update miri) - #59556 (update stdsimd) - #59596 (Forward formatter settings to bounds of `Range<T>` in `fmt::Debug` impl) - #59639 (Never return uninhabited values at all) - #59671 (Make some of lexer's API private) - #59685 (Add description for -Os and -Oz in rustc.1) - #59686 (Temporarily disable stack probing for gnux32.) Failed merges: r? @ghost
- Loading branch information
Showing
11 changed files
with
80 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule stdsimd
updated
from 12bdc2 to 2792b4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// compile-flags: -g -C no-prepopulate-passes | ||
// ignore-tidy-linelength | ||
|
||
#![crate_type = "lib"] | ||
|
||
#[derive(Clone, Copy)] | ||
pub enum EmptyEnum {} | ||
|
||
#[no_mangle] | ||
pub fn empty(x: &EmptyEnum) -> EmptyEnum { | ||
// CHECK: @empty({{.*}}) unnamed_addr #0 | ||
// CHECK-NOT: ret void | ||
// CHECK: call void @llvm.trap() | ||
// CHECK: unreachable | ||
*x | ||
} | ||
|
||
pub struct Foo(String, EmptyEnum); | ||
|
||
#[no_mangle] | ||
pub fn foo(x: String, y: &EmptyEnum) -> Foo { | ||
// CHECK: @foo({{.*}}) unnamed_addr #0 | ||
// CHECK-NOT: ret %Foo | ||
// CHECK: call void @llvm.trap() | ||
// CHECK: unreachable | ||
Foo(x, *y) | ||
} | ||
|
||
// CHECK: attributes #0 = {{{.*}} noreturn {{.*}}} | ||
|
||
// CHECK: DISubprogram(name: "empty", {{.*}} DIFlagNoReturn | ||
// CHECK: DISubprogram(name: "foo", {{.*}} DIFlagNoReturn |
Submodule miri
updated
10 files
+1 −1 | Cargo.toml | |
+34 −24 | README.md | |
+1 −1 | rust-version | |
+1 −1 | src/bin/miri-rustc-tests.rs | |
+3 −3 | src/fn_call.rs | |
+1 −1 | src/helpers.rs | |
+15 −15 | src/lib.rs | |
+1 −1 | src/operator.rs | |
+3 −3 | src/stacked_borrows.rs | |
+2 −2 | src/tls.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters