-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
[beta] backports #90938
[beta] backports #90938
Commits on Nov 16, 2021
-
Fix assertion failures in
OwnedHandle
withwindows_subsystem
.As discussed in rust-lang#88576, raw handle values in Windows can be null, such as in `windows_subsystem` mode, or when consoles are detached from a process. So, don't use `NonNull` to hold them, don't assert that they're not null, and remove `OwnedHandle`'s `repr(transparent)`. Introduce a new `HandleOrNull` type, similar to `HandleOrInvalid`, to cover the FFI use case. (cherry picked from commit 3b97481)
Configuration menu - View commit details
-
Copy full SHA for f7acd9f - Browse repository at this point
Copy the full SHA f7acd9fView commit details -
Fix Windows compilation errors.
(cherry picked from commit e102c2a)
Configuration menu - View commit details
-
Copy full SHA for 2df9cc5 - Browse repository at this point
Copy the full SHA 2df9cc5View commit details -
Document the valid values for
HandleOrNull
andHandleOrInvalid
.(cherry picked from commit 5d79870)
Configuration menu - View commit details
-
Copy full SHA for 0693aa1 - Browse repository at this point
Copy the full SHA 0693aa1View commit details -
Ensure that pushing empty path works as before
Fixes: rust-lang#89658 (cherry picked from commit 1bb399c)
Configuration menu - View commit details
-
Copy full SHA for 9654d52 - Browse repository at this point
Copy the full SHA 9654d52View commit details -
Feature gate and make must_not_suspend allow-by-default
This lint is not yet ready for stable use, primarily due to false positives in edge cases; we want to test it out more before stabilizing. (cherry picked from commit 185fa56)
Configuration menu - View commit details
-
Copy full SHA for 427b6a7 - Browse repository at this point
Copy the full SHA 427b6a7View commit details -
Only use
clone3
when needed for pidfdIn rust-lang#89522 we learned that `clone3` is interacting poorly with Gentoo's `sandbox` tool. We only need that for the unstable pidfd extensions, so otherwise avoid that and use a normal `fork`. (cherry picked from commit 85b55ce)
Configuration menu - View commit details
-
Copy full SHA for 4b4b56d - Browse repository at this point
Copy the full SHA 4b4b56dView commit details -
Update another comment on fork vs. clone3
(cherry picked from commit fa2eee7)
Configuration menu - View commit details
-
Copy full SHA for aaa8f4e - Browse repository at this point
Copy the full SHA aaa8f4eView commit details -
Also note tool expectations of fork vs clone3
Co-authored-by: Josh Triplett <josh@joshtriplett.org> (cherry picked from commit 6edaaa6)
Configuration menu - View commit details
-
Copy full SHA for 462002b - Browse repository at this point
Copy the full SHA 462002bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d658d6d - Browse repository at this point
Copy the full SHA d658d6dView commit details -
Fix documentation header sizes
And add a rustdoc-gui test confirming various header sizes. (cherry picked from commit 89276ff)
Configuration menu - View commit details
-
Copy full SHA for d19aeb2 - Browse repository at this point
Copy the full SHA d19aeb2View commit details -
Fixes incorrect handling of ADT's drop requirements
See rust-lang#90024 (comment) (cherry picked from commit 9158fc2)
Configuration menu - View commit details
-
Copy full SHA for 3374d0d - Browse repository at this point
Copy the full SHA 3374d0dView commit details -
Add regresstion test for rust-lang#90024.
Uses 2 MCVEs from the issue tracker that test opposite sides of the problem. (cherry picked from commit eae42fd)
Configuration menu - View commit details
-
Copy full SHA for 4f9474c - Browse repository at this point
Copy the full SHA 4f9474cView commit details -
Clean up debug statements in needs_drop
(cherry picked from commit aff37f8)
Configuration menu - View commit details
-
Copy full SHA for d092236 - Browse repository at this point
Copy the full SHA d092236View commit details -
Fix ICE when forgetting to
Box
a parameter to aSelf::func
call(cherry picked from commit 4b97023)
Configuration menu - View commit details
-
Copy full SHA for 2039a92 - Browse repository at this point
Copy the full SHA 2039a92View commit details -
expose default substs in param_env
(cherry picked from commit c6b6901)
Configuration menu - View commit details
-
Copy full SHA for 7a83694 - Browse repository at this point
Copy the full SHA 7a83694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96fd370 - Browse repository at this point
Copy the full SHA 96fd370View commit details -
Update odht crate to 0.3.1 (big-endian bugfix)
(cherry picked from commit 6771ac3)
Configuration menu - View commit details
-
Copy full SHA for dc73bdc - Browse repository at this point
Copy the full SHA dc73bdcView commit details -
Add more missing methods to
IntraLinkCrateLoader
This helps with (but does not fix) rust-lang#84738. I tested on jyn514/objr@edcee7b and still hit ICEs. (cherry picked from commit cdafe99)
Configuration menu - View commit details
-
Copy full SHA for 640bfaf - Browse repository at this point
Copy the full SHA 640bfafView commit details -
Go back to loading all external crates unconditionally
This *continues* to cause regressions. This code will be unnecessary once access to the resolver happens fully before creating the tyctxt (rust-lang#83761), so load all crates unconditionally for now. (cherry picked from commit 51345a8)
Configuration menu - View commit details
-
Copy full SHA for 5fd4bb4 - Browse repository at this point
Copy the full SHA 5fd4bb4View commit details -
Split doc_cfg and doc_auto_cfg features
(cherry picked from commit d50a475)
Configuration menu - View commit details
-
Copy full SHA for 082accd - Browse repository at this point
Copy the full SHA 082accdView commit details -
Also check for feature gates in "src/test/rustdoc"
(cherry picked from commit d7afbf6)
Configuration menu - View commit details
-
Copy full SHA for fb40f17 - Browse repository at this point
Copy the full SHA fb40f17View commit details -
Apply adjustments for field expression even if inaccessible
The adjustments are used later by ExprUseVisitor to build Place projections and without adjustments it can produce invalid result. (cherry picked from commit f556075)
Configuration menu - View commit details
-
Copy full SHA for fed62b2 - Browse repository at this point
Copy the full SHA fed62b2View commit details -
introduce an enum for tracking the 2229 migration causes
(cherry picked from commit 9c84ac8)
Configuration menu - View commit details
-
Copy full SHA for 5de0c84 - Browse repository at this point
Copy the full SHA 5de0c84View commit details -
rework diagnostic reporting to be more structured
(cherry picked from commit 76bc027)
Configuration menu - View commit details
-
Copy full SHA for 042c837 - Browse repository at this point
Copy the full SHA 042c837View commit details -
handle case of a variable not captured
(cherry picked from commit fc8113d)
Configuration menu - View commit details
-
Copy full SHA for 34cd4ef - Browse repository at this point
Copy the full SHA 34cd4efView commit details -
apply suggestions from code review
(cherry picked from commit 4154e8a)
Configuration menu - View commit details
-
Copy full SHA for d9ddee4 - Browse repository at this point
Copy the full SHA d9ddee4View commit details -
Properly register text_direction_codepoint_in_comment lint.
(cherry picked from commit 9db9811)
Configuration menu - View commit details
-
Copy full SHA for e63c3b5 - Browse repository at this point
Copy the full SHA e63c3b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cba2546 - Browse repository at this point
Copy the full SHA cba2546View commit details -
Use ubuntu image to download openssl, curl sources, cacert.pem
(cherry picked from commit 3a687e7)
Configuration menu - View commit details
-
Copy full SHA for 236bc61 - Browse repository at this point
Copy the full SHA 236bc61View commit details -
Ignore files copied from previous stage when generating hash.
(cherry picked from commit aef51a0)
Configuration menu - View commit details
-
Copy full SHA for 69b4a85 - Browse repository at this point
Copy the full SHA 69b4a85View commit details
Commits on Nov 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4d156c3 - Browse repository at this point
Copy the full SHA 4d156c3View commit details -
(cherry picked from commit 530cd5b)
Configuration menu - View commit details
-
Copy full SHA for a4a72e7 - Browse repository at this point
Copy the full SHA a4a72e7View commit details