-
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 6 pull requests #128411
Rollup of 6 pull requests #128411
Commits on Jul 16, 2024
-
When an archive fails to build, print the path
Currently the output on failure is as follows: Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling digest v0.10.7 Compiling sha2 v0.10.8 Compiling xz2 v0.1.7 error: failed to build archive: No such file or directory error: could not compile `bootstrap` (lib) due to 1 previous error Print which file is being constructed to give some hint about what is going on.
Configuration menu - View commit details
-
Copy full SHA for e0af3c6 - Browse repository at this point
Copy the full SHA e0af3c6View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 794434e - Browse repository at this point
Copy the full SHA 794434eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8211de - Browse repository at this point
Copy the full SHA d8211deView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6f0ef4 - Browse repository at this point
Copy the full SHA f6f0ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12d87ee - Browse repository at this point
Copy the full SHA 12d87eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f91da72 - Browse repository at this point
Copy the full SHA f91da72View commit details -
Structured suggestion for
extern crate foo
whenfoo
isn't resolve……d in import When encountering a name in an import that could have come from a crate that wasn't imported, use a structured suggestion to suggest `extern crate foo;` pointing at the right place in the crate. When encountering `_` in an import, do not suggest `extern crate _;`. ``` error[E0432]: unresolved import `spam` --> $DIR/import-from-missing-star-3.rs:2:9 | LL | use spam::*; | ^^^^ maybe a missing crate `spam`? | help: consider importing the `spam` crate | LL + extern crate spam; | ```
Configuration menu - View commit details
-
Copy full SHA for b61570a - Browse repository at this point
Copy the full SHA b61570aView commit details
Commits on Jul 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 918cdcc - Browse repository at this point
Copy the full SHA 918cdccView commit details -
Attribute checking simplifications
remove an unused boolean and then merge two big matches into one
Configuration menu - View commit details
-
Copy full SHA for 67a08b5 - Browse repository at this point
Copy the full SHA 67a08b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe6478c - Browse repository at this point
Copy the full SHA fe6478cView commit details -
Rollup merge of rust-lang#127830 - tgross35:archive-failure-message, …
…r=BoxyUwU When an archive fails to build, print the path Currently the output on failure is as follows: Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling digest v0.10.7 Compiling sha2 v0.10.8 Compiling xz2 v0.1.7 error: failed to build archive: No such file or directory error: could not compile `bootstrap` (lib) due to 1 previous error Change this to print which file is being constructed, to give some hint about what is going on. error: failed to build archive at `path/to/output`: No such file or directory
Configuration menu - View commit details
-
Copy full SHA for 6020fef - Browse repository at this point
Copy the full SHA 6020fefView commit details -
Rollup merge of rust-lang#128151 - estebank:missing-extern-crate, r=p…
…etrochenkov Structured suggestion for `extern crate foo` when `foo` isn't resolved in import When encountering a name in an import that could have come from a crate that wasn't imported, use a structured suggestion to suggest `extern crate foo;` pointing at the right place in the crate. When encountering `_` in an import, do not suggest `extern crate _;`. ``` error[E0432]: unresolved import `spam` --> $DIR/import-from-missing-star-3.rs:2:9 | LL | use spam::*; | ^^^^ maybe a missing crate `spam`? | help: consider importing the `spam` crate | LL + extern crate spam; | ```
Configuration menu - View commit details
-
Copy full SHA for 7b03344 - Browse repository at this point
Copy the full SHA 7b03344View commit details -
Rollup merge of rust-lang#128161 - EtomicBomb:just-compiletest, r=not…
…riddle nested aux-build in tests/rustdoc/ tests * Fixes bug that prevented using nested aux-build in `tests/rustdoc/` tests. Before, `fn document` and the auxiliary builder disagreed about where to find the nested aux-build source file (`auxiliary/auxiliary/aux.rs` vs `auxiliary/aux.rs`), preventing them from building. Picked the latter in line with other builders in compiletest. * Adds `//@ doc-flags` header, which forwards flags to rustdoc and not rustc. * Adds `//@ unique-doc-out-dir` header, which sets the --out-dir for the rustdoc invocation to a unique directory: `<root out dir>/docs/<test name>/doc` * Changes working directory of the rustdoc invocation to the root out directory (common among all aux-builds). Prior art: exec_compiled_test in runtest.rs * Adds tests that use nested aux builds and new headers These changes provide useful capabilities for writing rustdoc tests on their own. They are also needed to test the implementation for the [mergable-rustdoc-cross-crate-info](rust-lang/rfcs#3662) RFC.
Configuration menu - View commit details
-
Copy full SHA for 4f5c197 - Browse repository at this point
Copy the full SHA 4f5c197View commit details -
Rollup merge of rust-lang#128387 - liigo:patch-14, r=tgross35
More detailed note to deprecate ONCE_INIT
Configuration menu - View commit details
-
Copy full SHA for 9117ad8 - Browse repository at this point
Copy the full SHA 9117ad8View commit details -
Rollup merge of rust-lang#128388 - beetrees:f16-f128-slightly-improve…
…-windows-abi, r=tgross35 Match LLVM ABI in `extern "C"` functions for `f128` on Windows As MSVC doesn't support `_Float128`, x86-64 Windows doesn't have a defined ABI for `f128`. Currently, Rust will pass and return `f128` indirectly for `extern "C"` functions. This is inconsistent with LLVM, which passes and returns `f128` in XMM registers, meaning that e.g. the ABI of `extern "C"` compiler builtins won't match. This PR fixes this discrepancy by making the x86-64 Windows `extern "C"` ABI pass `f128` directly through to LLVM, so that Rust will follow whatever LLVM does. This still leaves the difference between LLVM and GCC (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054) but this PR is still an improvement as at least Rust is now consistent with it's primary codegen backend and compiler builtins from `compiler-builtins` will now work. I've also fixed the x86-64 Windows `has_reliable_f16` match arm in `std` `build.rs` to refer to the correct target, and added an equivalent match arm to `has_reliable_f128` as the LLVM-GCC ABI difference affects both `f16` and `f128`. Tracking issue: rust-lang#116909 try-job: x86_64-msvc try-job: x86_64-mingw
Configuration menu - View commit details
-
Copy full SHA for 6e18d8a - Browse repository at this point
Copy the full SHA 6e18d8aView commit details -
Rollup merge of rust-lang#128402 - oli-obk:checked_attrs, r=compiler-…
…errors Attribute checking simplifications remove an unused boolean and then merge two big matches into one I was reviewing some attributes and realized we don't really check this list against the list of builtin attributes, so we "may" totally be missing some attributes that we should be checking (like the `coroutine` attribute, which you can just apply to random stuff) ```rust #![feature(coroutines)] #[coroutine] struct Foo; ``` just compiles for example. Unless we check that the fallthrough match arm is never reached for builtin attributes, we're just going to keep forgetting to add them here, too. I can do that without the changes in this PR, but it seemed like a nice cleanup
Configuration menu - View commit details
-
Copy full SHA for 069962a - Browse repository at this point
Copy the full SHA 069962aView commit details