-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 9 pull requests #104273
Rollup of 9 pull requests #104273
Commits on Sep 24, 2022
-
Implement the
+whole-archive
modifier forwasm-ld
This implements the `Linker::{link_whole_staticlib,link_whole_rlib}` methods for the `WasmLd` linker used on wasm targets. Previously these methods were noops since I think historically `wasm-ld` did not have support for `--whole-archive` but nowadays it does, so the flags are passed through.
Configuration menu - View commit details
-
Copy full SHA for 6630c14 - Browse repository at this point
Copy the full SHA 6630c14View commit details
Commits on Oct 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 449a440 - Browse repository at this point
Copy the full SHA 449a440View commit details
Commits on Oct 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c0447b4 - Browse repository at this point
Copy the full SHA c0447b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a46af18 - Browse repository at this point
Copy the full SHA a46af18View commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 32a2f0d - Browse repository at this point
Copy the full SHA 32a2f0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2716449 - Browse repository at this point
Copy the full SHA 2716449View commit details
Commits on Nov 3, 2022
-
Fix broken link in error code E0706 docs
Corresponding subsection in async book is not `07.05` not `07.06`. The information on the linked page is the same so it may be reasonable to remove the whole sentence.
Configuration menu - View commit details
-
Copy full SHA for 4b5cff5 - Browse repository at this point
Copy the full SHA 4b5cff5View commit details
Commits on Nov 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8e0cac1 - Browse repository at this point
Copy the full SHA 8e0cac1View commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 303653e - Browse repository at this point
Copy the full SHA 303653eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a45151e - Browse repository at this point
Copy the full SHA a45151eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0bcd9 - Browse repository at this point
Copy the full SHA 0e0bcd9View commit details -
Add retry flag to remote-test-server
This allows retrying binding TCP Socket multiple times. This is useful when using emulators as network might not be available in the beginning. This was orignally implemented in rust-lang#100316 Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06a77af - Browse repository at this point
Copy the full SHA 06a77afView commit details
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 53e8b49 - Browse repository at this point
Copy the full SHA 53e8b49View commit details
Commits on Nov 11, 2022
-
Do not point at whole statement, only at the expression (skip pointing at `;`)
Configuration menu - View commit details
-
Copy full SHA for 50bb7a4 - Browse repository at this point
Copy the full SHA 50bb7a4View commit details -
Consider
#[must_use]
annotation onasync fn
as also affecting the…… `Future::Output` No longer lint against `#[must_use] async fn foo()`. When encountering a statement that awaits on a `Future`, check if the `Future`'s parent item is annotated with `#[must_use]` and emit a lint if so. This effectively makes `must_use` an annotation on the `Future::Output` instead of only the `Future` itself. Fix rust-lang#78149.
Configuration menu - View commit details
-
Copy full SHA for 243496e - Browse repository at this point
Copy the full SHA 243496eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bd8484 - Browse repository at this point
Copy the full SHA 8bd8484View commit details -
Configuration menu - View commit details
-
Copy full SHA for f57713b - Browse repository at this point
Copy the full SHA f57713bView commit details -
Rollup merge of rust-lang#100633 - estebank:must_use_async_fn_return,…
… r=tmandry Consider `#[must_use]` annotation on `async fn` as also affecting the `Future::Output` No longer lint against `#[must_use] async fn foo()`. When encountering a statement that awaits on a `Future`, check if the `Future`'s parent item is annotated with `#[must_use]` and emit a lint if so. This effectively makes `must_use` an annotation on the `Future::Output` instead of only the `Future` itself. Fix rust-lang#78149.
Configuration menu - View commit details
-
Copy full SHA for f12f8e5 - Browse repository at this point
Copy the full SHA f12f8e5View commit details -
Rollup merge of rust-lang#102215 - alexcrichton:wasm-link-whole-archi…
…ve, r=estebank Implement the `+whole-archive` modifier for `wasm-ld` This implements the `Linker::{link_whole_staticlib,link_whole_rlib}` methods for the `WasmLd` linker used on wasm targets. Previously these methods were noops since I think historically `wasm-ld` did not have support for `--whole-archive` but nowadays it does, so the flags are passed through.
Configuration menu - View commit details
-
Copy full SHA for db8c8ee - Browse repository at this point
Copy the full SHA db8c8eeView commit details -
Rollup merge of rust-lang#103445 - fmease:fix-50291, r=estebank
`#[test]`: Point at return type if `Termination` bound is unsatisfied Together with rust-lang#103142 (already merged) this fully fixes rust-lang#50291. I don't consider my current solution of changing a few spans “here and there” very clean since the failed obligation is a `FunctionArgumentObligation` and we point at a type instead of a function argument. If you agree with me on this point, I can offer to keep the spans of the existing nodes and instead inject `let _: AssertRetTyIsTermination<$ret_ty>;` (type to be defined in `libtest`) similar to `AssertParamIsEq` etc. used by some built-in derive-macros. I haven't tried that approach yet though and cannot promise that it would actually work out or be “cleaner” for that matter. ``@rustbot`` label A-libtest A-diagnostics r? ``@estebank``
Configuration menu - View commit details
-
Copy full SHA for 1e88697 - Browse repository at this point
Copy the full SHA 1e88697View commit details -
Rollup merge of rust-lang#103468 - chenyukang:yukang/fix-103435-extra…
…-parentheses, r=estebank Fix unused lint and parser caring about spaces to won't produce invalid code Fixes rust-lang#103435
Configuration menu - View commit details
-
Copy full SHA for a778ce3 - Browse repository at this point
Copy the full SHA a778ce3View commit details -
Rollup merge of rust-lang#103531 - chenyukang:yukang/fix-103474, r=es…
…tebank Suggest calling the instance method of the same name when method not found Fixes rust-lang#103474
Configuration menu - View commit details
-
Copy full SHA for ba1ead5 - Browse repository at this point
Copy the full SHA ba1ead5View commit details -
Rollup merge of rust-lang#103924 - PeteDevoy:patch-1, r=estebank
Fix broken link in description of error code E0706 Corresponding subsection in async book is `07.05` not `07.06`. The information on the linked page is the same so it may be reasonable to remove the whole sentence.
Configuration menu - View commit details
-
Copy full SHA for b906422 - Browse repository at this point
Copy the full SHA b906422View commit details -
Rollup merge of rust-lang#104110 - krasimirgg:msan-16, r=nagisa
prevent uninitialized access in black_box for zero-sized-types Don't read the pointer location in black_box for zero sized types, just emit a memory clobber instead. Addresses rust-lang#103304 when rust is build against LLVM at HEAD. Zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm/topic/.28with.20llvm.20at.20HEAD.29.3A.20msan.20error.20in.20core.3A.3Ahint.3A.3Ablack_box
Configuration menu - View commit details
-
Copy full SHA for 3706a6d - Browse repository at this point
Copy the full SHA 3706a6dView commit details -
Rollup merge of rust-lang#104129 - notriddle:notriddle/102576-js-nota…
…ble-trait, r=GuillaumeGomez rustdoc: use javascript to layout notable traits popups Fixes rust-lang#102576 Preview: https://notriddle.com/notriddle-rustdoc-demos/102576-js-notable-trait/std/iter/trait.Iterator.html#method.step_by ## Before ![image](https://user-images.githubusercontent.com/1593513/200432713-23aa8d49-ba2b-469f-9eab-089e0c174039.png) ## After ![image](https://user-images.githubusercontent.com/1593513/200432735-edd5b53d-e99d-4fc5-9410-8a79e0efdc9d.png)
Configuration menu - View commit details
-
Copy full SHA for 16b8651 - Browse repository at this point
Copy the full SHA 16b8651View commit details -
Rollup merge of rust-lang#104146 - Ayush1325:remote-test-server, r=jy…
…n514 Retry binding TCP Socket in remote-test-server This allows retrying binding TCP Socket multiple times. This is useful when using emulators as network might not be available in the beginning. This was orignally implemented in rust-lang#100316 Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4fc9d1c - Browse repository at this point
Copy the full SHA 4fc9d1cView commit details