-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
rustc: 1.25.0 -> 1.26.2 #40356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
rustc: 1.25.0 -> 1.26.2 #40356
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
53 changes: 0 additions & 53 deletions
53
...nt/compilers/rust/patches/0001-Disable-fragile-tests-libstd-net-tcp-on-Darwin-Linux.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
104 changes: 104 additions & 0 deletions
104
pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
This file contains hidden or 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,104 @@ | ||
| diff --git a/src/libstd/net/tcp.rs b/src/libstd/net/tcp.rs | ||
| index 0f60b5b3e..9b08415e7 100644 | ||
| --- a/src/libstd/net/tcp.rs | ||
| +++ b/src/libstd/net/tcp.rs | ||
| @@ -962,6 +962,7 @@ mod tests { | ||
| } | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn listen_localhost() { | ||
| let socket_addr = next_test_ip4(); | ||
| @@ -1020,6 +1021,7 @@ mod tests { | ||
| }) | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn read_eof() { | ||
| each_ip(&mut |addr| { | ||
| @@ -1039,6 +1041,7 @@ mod tests { | ||
| }) | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn write_close() { | ||
| each_ip(&mut |addr| { | ||
| @@ -1065,6 +1068,7 @@ mod tests { | ||
| }) | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn multiple_connect_serial() { | ||
| each_ip(&mut |addr| { | ||
| @@ -1087,6 +1091,7 @@ mod tests { | ||
| }) | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn multiple_connect_interleaved_greedy_schedule() { | ||
| const MAX: usize = 10; | ||
| @@ -1123,6 +1128,7 @@ mod tests { | ||
| } | ||
|
|
||
| #[test] | ||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| fn multiple_connect_interleaved_lazy_schedule() { | ||
| const MAX: usize = 10; | ||
| each_ip(&mut |addr| { | ||
| @@ -1401,6 +1407,7 @@ mod tests { | ||
| } | ||
|
|
||
| #[test] | ||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| fn clone_while_reading() { | ||
| each_ip(&mut |addr| { | ||
| let accept = t!(TcpListener::bind(&addr)); | ||
| @@ -1421,7 +1422,10 @@ mod tests { | ||
|
|
||
| // FIXME: re-enabled bitrig/openbsd tests once their socket timeout code | ||
| // no longer has rounding errors. | ||
| - #[cfg_attr(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd"), ignore)] | ||
| + #[cfg_attr(any(target_os = "bitrig", | ||
| + target_os = "netbsd", | ||
| + target_os = "openbsd", | ||
| + target_os = "macos"), ignore)] | ||
| #[test] | ||
| fn timeouts() { | ||
| let addr = next_test_ip4(); | ||
| @@ -1596,6 +1603,7 @@ mod tests { | ||
| drop(listener); | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn nodelay() { | ||
| let addr = next_test_ip4(); | ||
| @@ -1610,6 +1618,7 @@ mod tests { | ||
| assert_eq!(false, t!(stream.nodelay())); | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn ttl() { | ||
| let ttl = 100; | ||
| @@ -1647,6 +1656,7 @@ mod tests { | ||
| } | ||
| } | ||
|
|
||
| + #[cfg_attr(target_os = "macos", ignore)] | ||
| #[test] | ||
| fn peek() { | ||
| each_ip(&mut |addr| { | ||
| @@ -1679,6 +1689,7 @@ mod tests { | ||
| } | ||
|
|
||
| #[test] | ||
| + #[cfg_attr(any(target_os = "linux", target_os = "macos"), ignore)] | ||
| fn connect_timeout_unroutable() { | ||
| // this IP is unroutable, so connections should always time out, | ||
| // provided the network is reachable to begin with. |
20 changes: 20 additions & 0 deletions
20
pkgs/development/compilers/rust/patches/stdsimd-disable-doctest.patch
This file contains hidden or 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,20 @@ | ||
| diff --git a/src/stdsimd/coresimd/x86/mod.rs b/src/stdsimd/coresimd/x86/mod.rs | ||
| index 32915c332..7cb54f31e 100644 | ||
| --- a/src/stdsimd/coresimd/x86/mod.rs | ||
| +++ b/src/stdsimd/coresimd/x86/mod.rs | ||
| @@ -279,7 +279,6 @@ types! { | ||
| /// | ||
| /// # Examples | ||
| /// | ||
| - /// ``` | ||
| /// # #![feature(cfg_target_feature, target_feature, stdsimd)] | ||
| /// # #![cfg_attr(not(dox), no_std)] | ||
| /// # #[cfg(not(dox))] | ||
| @@ -301,7 +300,6 @@ types! { | ||
| /// # } | ||
| /// # if is_x86_feature_detected!("sse") { unsafe { foo() } } | ||
| /// # } | ||
| - /// ``` | ||
| pub struct __m256(f32, f32, f32, f32, f32, f32, f32, f32); | ||
|
|
||
| /// 256-bit wide set of four `f64` types, x86-specific |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
patches is a required argument
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right. I'll fix this tomorrow. Should I have kept the
grsecpatch by the way? I have no idea what that is.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jD91mZM2 we have removed grsec support in nixos since 17.09. You can drop the patch.