-
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
Rollup of 6 pull requests #127067
Rollup of 6 pull requests #127067
Commits on Jun 19, 2024
-
ignore
llvm::Lld
step iflld
is not enabledPeople are having trouble when they don't want to build `lld` for their custom distribution tarballs even with `lld = false` in their config.toml. This is because it is not controlled by `lld_enabled` flag. This change ensures that `llvm:Lld` is controlled by lld configuration. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for f22775b - Browse repository at this point
Copy the full SHA f22775bView commit details -
add
lld = true
to default dist profileMake sure lld is enabled for dist profile unless it is explicitly disabled. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for c890a81 - Browse repository at this point
Copy the full SHA c890a81View commit details -
disable lld if external llvm is used
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for bfca652 - Browse repository at this point
Copy the full SHA bfca652View commit details
Commits on Jun 24, 2024
-
bootstrap: exclude cargo from package metadata
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 11acf83 - Browse repository at this point
Copy the full SHA 11acf83View commit details -
don't fetch/sync cargo submodule by default
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 457ac5d - Browse repository at this point
Copy the full SHA 457ac5dView commit details -
refactor
tool_doc
macro in bootstrapSigned-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 8c3ebf7 - Browse repository at this point
Copy the full SHA 8c3ebf7View commit details -
handle cargo submodule in a lazy-load way
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 51f6e68 - Browse repository at this point
Copy the full SHA 51f6e68View commit details
Commits on Jun 25, 2024
-
Support for -Z patchable-function-entry
`-Z patchable-function-entry` works like `-fpatchable-function-entry` on clang/gcc. The arguments are total nop count and function offset. See MCP rust-lang/compiler-team#704
Configuration menu - View commit details
-
Copy full SHA for ac7595f - Browse repository at this point
Copy the full SHA ac7595fView commit details -
Support
#[patchable_function_entries]
See [RFC](https://github.com/maurer/rust-rfcs/blob/patchable-function-entry/text/0000-patchable-function-entry.md) (yet to be numbered) TODO before submission: * Needs an RFC * Improve error reporting for malformed attributes
Configuration menu - View commit details
-
Copy full SHA for 9b0ae75 - Browse repository at this point
Copy the full SHA 9b0ae75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c56398 - Browse repository at this point
Copy the full SHA 7c56398View commit details -
Removes an `unsafe` in favor of just using `String` methods.
Configuration menu - View commit details
-
Copy full SHA for d5ff4f4 - Browse repository at this point
Copy the full SHA d5ff4f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c9556d - Browse repository at this point
Copy the full SHA 2c9556dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23d1cc4 - Browse repository at this point
Copy the full SHA 23d1cc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7526416 - Browse repository at this point
Copy the full SHA 7526416View commit details
Commits on Jun 27, 2024
-
Co-authored-by: Ralf Jung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 7e7d0a9 - Browse repository at this point
Copy the full SHA 7e7d0a9View commit details -
remove unnecessary packages from
metadata::workspace_members
Currently bootstrap doesn't use any inner paths from rust-analyzer and bootstrap with `ShouldRun::create_or_deps`. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 3457ecc - Browse repository at this point
Copy the full SHA 3457eccView commit details -
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for b1b473e - Browse repository at this point
Copy the full SHA b1b473eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 789ee88 - Browse repository at this point
Copy the full SHA 789ee88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d246b0 - Browse repository at this point
Copy the full SHA 8d246b0View commit details
Commits on Jun 28, 2024
-
Rollup merge of rust-lang#124741 - nebulark:patchable-function-entrie…
…s-pr, r=estebank,workingjubilee patchable-function-entry: Add unstable compiler flag and attribute Tracking issue: rust-lang#123115 Add the -Z patchable-function-entry compiler flag and the #[patchable_function_entry(prefix_nops = m, entry_nops = n)] attribute. Rebased and adjusted the canditate implementation to match changes in the RFC.
Configuration menu - View commit details
-
Copy full SHA for 75834c9 - Browse repository at this point
Copy the full SHA 75834c9View commit details -
Rollup merge of rust-lang#126470 - onur-ozkan:optional-cargo-submodul…
…e, r=Kobzol make cargo submodule optional Right now, we fetch the cargo submodule no matter what, even if the command we are running doesn't need it (e.g., `x build compiler library`). This PR changes that to only fetch the cargo submodule when it's necessary. For more context, see the zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/Why.20is.20cargo.20always.20checked.20out.3F
Configuration menu - View commit details
-
Copy full SHA for 6909cde - Browse repository at this point
Copy the full SHA 6909cdeView commit details -
Rollup merge of rust-lang#126701 - onur-ozkan:build-lld-if-enabled, r…
…=Kobzol ignore `llvm::Lld` if lld is not enabled People are having trouble ([ref. zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/MSVC.20Runtime.20mismatch.20when.20building.20LLD)) when they don't want to build `lld` for their custom distribution tarballs even with `lld = false` in their config.toml. This is because it is not controlled by `lld_enabled` flag. This change ensures that `llvm:Lld` is controlled by lld configuration. Additionally, `lld = true` is set by default for dist profile, because we have been building it all along and this maintains that behavior.
Configuration menu - View commit details
-
Copy full SHA for 71f9d3a - Browse repository at this point
Copy the full SHA 71f9d3aView commit details -
Rollup merge of rust-lang#126956 - joboet:fmt_no_extern_ty, r=RalfJung
core: avoid `extern type`s in formatting infrastructure ``@RalfJung`` [said](https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Use.20of.20.60extern.20type.60.20in.20formatting.20machinery/near/446552837): >How attached are y'all to using `extern type` in the formatting machinery? Seems like this was introduced a [long time ago](rust-lang@34ef8f5). However, it's also [not really compatible with Stacked Borrows](rust-lang/unsafe-code-guidelines#256), and only works currently because we effectively treat references-to-extern-type almost like raw pointers in Stacked Borrows -- which of course is unsound, it's not how LLVM works. I was planning to make Miri emit a warning when this happens to avoid cases like [this](rust-lang#126814 (comment)) where people use extern type specifically to silence Miri without realizing what happens. but with the formatting machinery using extern type, this warning would just show up everywhere... > > The "proper" way to do this in Stacked Borrows is to use raw pointers (or `NonNull`). This PR does just that. r? ``@RalfJung``
Configuration menu - View commit details
-
Copy full SHA for e94100b - Browse repository at this point
Copy the full SHA e94100bView commit details -
Rollup merge of rust-lang#126970 - DaniPopes:simplify-str-clone_into,…
… r=cuviper Simplify `str::clone_into` Removes an `unsafe` in favor of just using `String` methods.
Configuration menu - View commit details
-
Copy full SHA for a66f2c2 - Browse repository at this point
Copy the full SHA a66f2c2View commit details -
Rollup merge of rust-lang#127058 - compiler-errors:tighten-async-span…
…s, r=oli-obk Tighten `fn_decl_span` for async blocks Tightens the span of `async {}` blocks in diagnostics, and subsequently async closures and async fns, by actually setting the `fn_decl_span` correctly. This is kinda a follow-up on rust-lang#125078, but it fixes the problem in a more general way. I think the diagnostics are significantly improved, since we no longer have a bunch of overlapping spans. I'll point out one caveat where I think the diagnostic may get a bit more confusing, but where I don't think it matters. r? ```@estebank``` or ```@oli-obk``` or someone else on wg-diag or compiler i dont really care lol
Configuration menu - View commit details
-
Copy full SHA for f305466 - Browse repository at this point
Copy the full SHA f305466View commit details