-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rollup of 10 pull requests #93427
Rollup of 10 pull requests #93427
Commits on Jan 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2f1a12f - Browse repository at this point
Copy the full SHA 2f1a12fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb6fff - Browse repository at this point
Copy the full SHA 5eb6fffView commit details
Commits on Jan 23, 2022
-
Add os::unix::net::SocketAddr::unix
Creates a new SocketAddr from a path, supports both regular paths and abstract namespaces.
Configuration menu - View commit details
-
Copy full SHA for f2cdb57 - Browse repository at this point
Copy the full SHA f2cdb57View commit details
Commits on Jan 24, 2022
-
Reorder unwinding related builder methods to differentiate between dw…
…arf and msvc instructions
Configuration menu - View commit details
-
Copy full SHA for 19dd2ec - Browse repository at this point
Copy the full SHA 19dd2ecView commit details -
Remove unused return values from resume and cleanup_ret
Given that these instructions are diverging, not every codegen backend may be able to produce a return value for them.
Configuration menu - View commit details
-
Copy full SHA for e9646fa - Browse repository at this point
Copy the full SHA e9646faView commit details -
Merge add_handler into catch_switch
Some codegen backends may require all handlers to be immediately known
Configuration menu - View commit details
-
Copy full SHA for 7a16450 - Browse repository at this point
Copy the full SHA 7a16450View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6ce771 - Browse repository at this point
Copy the full SHA f6ce771View commit details -
Rename SocketAddr::unix to from_path
And change it to disallow NULL bytes.
Configuration menu - View commit details
-
Copy full SHA for c1cd200 - Browse repository at this point
Copy the full SHA c1cd200View commit details
Commits on Jan 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 84c0c9d - Browse repository at this point
Copy the full SHA 84c0c9dView commit details
Commits on Jan 26, 2022
-
Unimpl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}<$t> for Saturating<$t>
Analog to 9648b31 rust-lang#93208
Configuration menu - View commit details
-
Copy full SHA for a6c0a3d - Browse repository at this point
Copy the full SHA a6c0a3dView commit details
Commits on Jan 27, 2022
-
Make sockaddr_un safe and use copy_nonoverlapping
The creation of libc::sockaddr_un is a safe operation, no need for it to be unsafe. This also uses the more performant copy_nonoverlapping instead of an iterator.
Configuration menu - View commit details
-
Copy full SHA for ca9a3c9 - Browse repository at this point
Copy the full SHA ca9a3c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4acb8ac - Browse repository at this point
Copy the full SHA 4acb8acView commit details -
Configuration menu - View commit details
-
Copy full SHA for db097f3 - Browse repository at this point
Copy the full SHA db097f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f59a3 - Browse repository at this point
Copy the full SHA 38f59a3View commit details
Commits on Jan 28, 2022
-
Fix a typo from rust-lang#92899
Just happened to notice this in passing
Configuration menu - View commit details
-
Copy full SHA for 81b4e51 - Browse repository at this point
Copy the full SHA 81b4e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff79ce7 - Browse repository at this point
Copy the full SHA ff79ce7View commit details -
Edit docs introduction for
std::cmp::PartialOrd
This makes `PartialOrd` consistent with the other three traits in this module, which all include links to their respective mathematical concepts on Wikipedia.
Configuration menu - View commit details
-
Copy full SHA for 7c7509b - Browse repository at this point
Copy the full SHA 7c7509bView commit details -
To make use of `sock_accept()`, update the wasi crate to `0.11.0`. Signed-off-by: Harald Hoyer <harald@profian.com>
Configuration menu - View commit details
-
Copy full SHA for 00cbc8d - Browse repository at this point
Copy the full SHA 00cbc8dView commit details -
wasi: enable TcpListener and TcpStream
With the addition of `sock_accept()` to snapshot1, simple networking via a passed `TcpListener` is possible. This patch implements the basics to make a simple server work. Signed-off-by: Harald Hoyer <harald@profian.com>
Configuration menu - View commit details
-
Copy full SHA for d2a1369 - Browse repository at this point
Copy the full SHA d2a1369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35f578f - Browse repository at this point
Copy the full SHA 35f578fView commit details -
Rollup merge of rust-lang#92611 - Amanieu:asm-reference, r=m-ou-se
Add links to the reference and rust by example for asm! docs and lints These were previously removed in rust-lang#91728 due to broken links. cc ``@ehuss`` since this updates the rust-by-example submodule
Configuration menu - View commit details
-
Copy full SHA for db6ca25 - Browse repository at this point
Copy the full SHA db6ca25View commit details -
Rollup merge of rust-lang#93158 - haraldh:wasi_sock_accept, r=dtolnay
wasi: implement `sock_accept` and enable networking With the addition of `sock_accept()` to snapshot1, simple networking via a passed `TcpListener` is possible. This PR implements the basics to make a simple server work. See also: * [wasmtime tracking issue](bytecodealliance/wasmtime#3730) * [wasmtime PR](bytecodealliance/wasmtime#3711) TODO: * [ ] Discussion of `SocketAddr` return value for `::accept()` ```rust Ok(( TcpStream::from_inner(unsafe { Socket::from_raw_fd(fd as _) }), // WASI has no concept of SocketAddr yet // return an unspecified IPv4Addr SocketAddr::new(Ipv4Addr::UNSPECIFIED.into(), 0), )) ```
Configuration menu - View commit details
-
Copy full SHA for 9f15c4d - Browse repository at this point
Copy the full SHA 9f15c4dView commit details -
Rollup merge of rust-lang#93239 - Thomasdezeeuw:socketaddr_creation, …
…r=m-ou-se Add os::unix::net::SocketAddr::from_path Creates a new SocketAddr from a path, supports both regular paths and abstract namespaces. Note that `SocketAddr::from_abstract_namespace` could be removed after this as `SocketAddr::unix` also supports abstract namespaces. Updates rust-lang#65275 Unblocks tokio-rs/mio#1527 r? `@m-ou-se`
Configuration menu - View commit details
-
Copy full SHA for 18c8d0d - Browse repository at this point
Copy the full SHA 18c8d0dView commit details -
Rollup merge of rust-lang#93261 - bjorn3:cg_ssa_refactor6, r=cjgillot
Some unwinding related cg_ssa cleanups These should make it a bit easier for alternative codegen backends to implement unwinding.
Configuration menu - View commit details
-
Copy full SHA for ada77e9 - Browse repository at this point
Copy the full SHA ada77e9View commit details -
Rollup merge of rust-lang#93295 - ChrisDenton:tempdir-double-panic, r…
…=dtolnay Avoid double panics when using `TempDir` in tests `TempDir` could panic on drop if `remove_dir_all` returns an error. If this happens while already panicking, the test process would abort and therefore not show the test results. This PR tries to avoid such double panics.
Configuration menu - View commit details
-
Copy full SHA for 4f2e2ce - Browse repository at this point
Copy the full SHA 4f2e2ceView commit details -
Rollup merge of rust-lang#93353 - kellerkindt:saturating_int_assign_i…
…mpl, r=joshtriplett Unimpl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}<$t> for Saturating<$t> Tracking issue rust-lang#92354 Analog to 9648b31 rust-lang#93208 reduce `saturating_int_assign_impl` (rust-lang#93208) to: ```rust let mut value = Saturating(2u8); value += 3u8; value -= 1u8; value *= 2u8; value /= 2u8; value %= 2u8; value ^= 255u8; value |= 123u8; value &= 2u8; ``` See rust-lang#93208 (comment)
Configuration menu - View commit details
-
Copy full SHA for 25cd639 - Browse repository at this point
Copy the full SHA 25cd639View commit details -
Rollup merge of rust-lang#93356 - pierwill:partialord-headline, r=dto…
…lnay Edit docs introduction for `std::cmp::PartialOrd` This makes `PartialOrd` consistent with the other three traits in this module, which all include links to their corresponding mathematical concepts on Wikipedia. <img width="500" alt="Screen Shot 2022-01-26 at 10 24 23 PM" src="https://user-images.githubusercontent.com/19642016/151291720-decd85ed-cd6e-4be0-84a9-619b98ceb386.png">
Configuration menu - View commit details
-
Copy full SHA for cfe0300 - Browse repository at this point
Copy the full SHA cfe0300View commit details -
Rollup merge of rust-lang#93375 - Kvicii:ISSUE_93374, r=notriddle
fix typo `documenation`
Configuration menu - View commit details
-
Copy full SHA for 2b4ce0c - Browse repository at this point
Copy the full SHA 2b4ce0cView commit details -
Rollup merge of rust-lang#93399 - ehuss:fix-compiletest-path-relative…
…, r=Mark-Simulacrum rustbuild: Fix compiletest warning when building outside of root. This fixes a warning that would happen when passing arguments to compiletest (like `x.py test src/test/ui`) when running `x.py` outside of the root source directory. For example, the CI builders do this, which causes a confusing warning message. This also fixes it so that passing a full path works (like `x.py test src/test/ui/hello.rs`) in the same scenario (previously it would just ignore the `hello.rs` part).
Configuration menu - View commit details
-
Copy full SHA for 6baf25e - Browse repository at this point
Copy the full SHA 6baf25eView commit details -
Rollup merge of rust-lang#93404 - rust-lang:scottmcm-patch-1, r=wesle…
…ywiser Fix a typo from rust-lang#92899 Just happened to notice this in passing
Configuration menu - View commit details
-
Copy full SHA for 27f6821 - Browse repository at this point
Copy the full SHA 27f6821View commit details