about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2023-08-22Disable bootstrap rustc version checkDavid Koloski-1/+2
Mitigates #115065
2023-08-22rust-gdbgui: remove excessive quotesEren K-3/+3
in commit 8dd0ec6, the `GDB_ARGS` variable was split across 3 lines. However, extra quotes were added to each line, such that the shell interprets the 3 lines as space separated strings, and tries to execute the latter two lines. This commit simply removes the extra quotes.
2023-08-22fix some bad regex capture group references in test normalizationRalf Jung-14/+14
2023-08-22Auto merge of #115095 - RalfJung:miri, r=RalfJungbors-74/+299
update Miri r? `@ghost`
2023-08-22bootstrap: builder: don't add origin paths on xousSean Cross-1/+4
Don't add the origin rpath when calling the linker. This is unnecessary on Xous since there is no dynamic linker, and Xous can use an ordinary bare-metal linker with no rpath options. As part of this patch, the logic was inverted so that the "else" clause contains everything except "windows" and "xous". Signed-off-by: Sean Cross <sean@xobs.io>
2023-08-22Update stage0 to next betaMark Rousskov-368/+370
2023-08-22Auto merge of #115086 - RalfJung:miri-locked, r=albertlarsan68bors-0/+7
bootstrap/miri: respect config_locked_deps
2023-08-22Always use `os-release` rather than `/lib` to detect `NixOS`Ethan Brierley-8/+3
[Two users over on zulip](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Bootstrapping.20on.20NixOS) bumped into issues where NixOS wasn't being properly detected. I believe this was caused by the presence of `/lib` on their machines. `/lib` is not standard on NixOS but can still be created by users or scripts. We are already checking `/etc/os-release`. The presence of `ID=nixos` in it's output should be trustworthy and we shouldn't then go on to also check for `/lib`.
2023-08-22Auto merge of #3036 - RalfJung:josh-autostart, r=RalfJungbors-26/+214
automatically start and stop josh in rustc-pull/push Let's make use of the fact that this is not a shell script any more. :)
2023-08-22miri-script: start and stop josh automaticallyRalf Jung-25/+212
2023-08-22make sure './miri many-seeds ./miri run' does not re-invoke the auto-opsRalf Jung-1/+2
2023-08-22respect CARGO_EXTRA_FLAGS in more placesRalf Jung-7/+18
2023-08-22bootstrap/miri: respect config_locked_depsRalf Jung-0/+7
2023-08-22bump serdeRalf Jung-34/+33
2023-08-22Auto merge of #115075 - workingjubilee:retier-sparc-none, r=compiler-errorsbors-1/+1
Reassign sparc-unknown-none-elf to tier 3 It should never have been moved to tier 2. It is a new platform and the maintainer has agreed to do tier 3 maintenance for it, not tier 2. r? `@jonathanpallant`
2023-08-22Auto merge of #115055 - Kriskras99:master, r=ehussbors-3/+4
Fix table issues in platform support documentation (closes #115047) mdBook needs an empty line before and after the table block. In addition, in the tier-3 list three targets forgot about the host column and therefore showed the notes in the host column. Closes #115047
2023-08-21Fix elided lifetimes in rust-lang/rustMichael Goulet-2/+2
2023-08-21rustdoc: use unicode-aware checks for redundant explicit link fastpathMichael Howell-14/+4
Fixes #115064
2023-08-21rustdoc-json: Rename typedef to type aliasNoah Lev-21/+21
2023-08-21rustdoc: Rename `clean` items from typedef to type aliasNoah Lev-48/+52
2023-08-21Reassign sparc-unknown-none-elf to tier 3Jubilee Young-1/+1
It should never have been moved to tier 2. It is a new platform and the maintainer has agreed to do tier 3 maintenance for it, not tier 2.
2023-08-21rustdoc: Rename "Type Definition" to "Type Alias"Noah Lev-3/+3
This matches the name used by the Rust Reference [1], which is also what people usually call these items. [1]: https://doc.rust-lang.org/reference/items/type-aliases.html
2023-08-21Fix table issues in platform support documentationChristiaan Biesterbosch-3/+4
2023-08-21Auto merge of #115048 - lnicola:sync-from-ra, r=lnicolabors-1448/+3862
:arrow_up: `rust-analyzer`
2023-08-21Merge commit '9b3d03408c66749d56466bb09baf2a7177deb6ce' into sync-from-raLaurențiu Nicola-1448/+3862
2023-08-21Auto merge of #106561 - GuillaumeGomez:warning-block, r=rustdocbors-3/+39
Add warning block support in rustdoc Fixes https://github.com/rust-lang/rust/issues/79710. You can test it [here](https://rustdoc.crud.net/imperio/warning-block/foo/struct.Foo.html). It currently looks like this: ![image](https://user-images.githubusercontent.com/3050060/211413494-e1cf04e4-c081-4a9d-97db-27329405cfa7.png) So a few things to note: * Since it's a new add and it's changing the UI, we'll need to go through an FCP. * Does the UI looks good? * Is the way picked to add a warning block ok for everyone? The discussion on the issue seemed to be in favour of this solution but it doesn't hurt to double-check. cc `@rust-lang/rustdoc`
2023-08-21fix MIRI_AUTO_OPS not having an effect any moreRalf Jung-2/+8
2023-08-21update recommended RA configRalf Jung-4/+5
2023-08-21fmtThe Miri Conjob Bot-1/+1
2023-08-21Merge from rustcThe Miri Conjob Bot-777/+1537
2023-08-21Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-08-21Auto merge of #115029 - ehuss:remove-apple-alt, r=Mark-Simulacrumbors-12/+0
Remove apple-alt dist build. This removes the dist-x86_64-apple-alt build to reduce CI usage because I suspect nobody is using it. This builder is almost identical to the `dist-x86_64-apple` with the small difference that the latter adds `rust.lto=thin`, and I do not think that difference was intentional. The reason they are identical is because llvm assertions were disabled in #44610, but I did not see any discussion about the consequence that this made the alt build identical to the normal build. Perhaps because #44610 was intended to be temporary?
2023-08-20Auto merge of #114993 - RalfJung:panic-nounwind, r=fee1-deadbors-66/+225
interpret/miri: call the panic_nounwind machinery the same way codegen does
2023-08-20Bump version to 1.74.0Mark Rousskov-1/+1
2023-08-20fix RA buildRalf Jung-1/+1
2023-08-20Remove apple-alt dist build.Eric Huss-12/+0
2023-08-20Auto merge of #3032 - RalfJung:serde, r=RalfJung,oli-obkbors-2/+8
pin a version of serde without intransparent unreproducible binary blobs Serde is [shipping a binary blob in its derive crate](https://github.com/serde-rs/serde/issues/2538), which is highly unexpected and subverts user trust. To make matters worse, the binary is [not even reproducible](https://github.com/serde-rs/serde/issues/2575), making the crate largely unauditable and relinquishing the security benefits of open-source software. Build times are not nearly painful enough to justify forcing users to trust binary blobs.
2023-08-20pin a version of serde without intransparent unreproducible binary blobsRalf Jung-2/+8
2023-08-20interpret: have assert_* intrinsics call the panic machinery instead of a ↵Ralf Jung-19/+84
direct abort
2023-08-20interpret/miri: call panic_cannot_unwind lang item instead of hard-coding ↵Ralf Jung-39/+133
the same message
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-7/+7
2023-08-20feat(docs): add cargo-pgo to PGO documentation 📝Meysam Azad-0/+22
2023-08-20Rollup merge of #115000 - RalfJung:custom-mir-call, r=compiler-errors,JakobDegenMatthias Krüger-35/+35
custom_mir: change Call() terminator syntax to something more readable I find our current syntax very hard to read -- I cannot even remember the order of arguments, and having the "next block" *before* the actual function call is very counter-intuitive IMO. So I suggest we use `Call(ret_val = function(v), next_block)` instead. r? `@JakobDegen`
2023-08-20Auto merge of #113167 - ChAoSUnItY:redundant_explicit_link, r=GuillaumeGomezbors-38/+578
rustdoc: Add lint `redundant_explicit_links` Closes #87799. - Lint warns by default - Reworks link parser to cache original link's display text r? `@jyn514`
2023-08-19custom_mir: change Call() terminator syntax to something more readableRalf Jung-35/+35
2023-08-19Update cargoWeihang Lo-0/+0
2023-08-18Fix formatKyle Lin-1/+1
2023-08-18Fix private function importingKyle Lin-1/+1
2023-08-18Skip lint check when item is not fully publicKyle Lin-0/+19
2023-08-18relax redundancy constraintKyle Lin-6/+1