about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2023-10-08Auto merge of #114623 - Kobzol:opt-dist-gha-summaries, r=Mark-Simulacrumbors-28/+100
Print some information from try builds to GitHub summary This PR adds some logs from `opt-dist` (the duration of the individual steps of the build pipeline, and the size of the resulting artifacts) to GitHub [job summaries](https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/), in order to quickly show useful information right in the GHA CI job page, without needing to read the full log. [This](https://github.com/rust-lang-ci/rust/actions/runs/5810621086) is how the summary currently looks like. r? `@ghost`
2023-10-07Auto merge of #116416 - Kobzol:ci-host-llvm-17-0-2, r=Mark-Simulacrumbors-1/+1
Bump host compiler on x64 dist Linux to LLVM 17.0.2 17.0.0-rc3 had a bunch of miscompilations, and it's probably better in general not to use a RC version of LLVM long term on CI.
2023-10-07Auto merge of #116437 - nnethercote:rustc_features, r=Nilstriebbors-1/+1
Clean up `rustc_features` Plenty more to be done, but this is a decent start. r? `@Nilstrieb`
2023-10-07linker: Remove unstable legacy CLI linker flavorsVadim Petrochenkov-5/+3
2023-10-07Correctly handle cross-crate C-like variantsGuillaume Gomez-20/+7
2023-10-07Only display enum variants integer values if one of them has a value setGuillaume Gomez-18/+27
2023-10-07allow option-ext as a tool dependency (MPL licensed)Ralf Jung-0/+1
2023-10-07Merge from rustcThe Miri Conjob Bot-772/+2640
2023-10-07Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-10-06Update docs for mips target tier demotion.Eric Huss-4/+4
2023-10-06Rollup merge of #116277 - RalfJung:post-mono, r=oli-obkJubilee-2/+1
dont call mir.post_mono_checks in codegen It seems like all tests are still passing when I remove this... let's see what CI says.
2023-10-06Show values of C-like variants even if not defined by the userGuillaume Gomez-22/+90
2023-10-06Update platform docs for aarch64-apple-tvos-simSebastian Imlay-1/+4
2023-10-06Rename `flag` to `arg`Jakub Beránek-4/+4
2023-10-06Rollup merge of #116423 - eltociear:patch-22, r=flip1995Matthias Krüger-2/+2
Fix typo in attrs.rs documenation -> documentation
2023-10-06Auto merge of #3112 - RalfJung:rustup, r=RalfJungbors-717/+605
Rustup preparing for rustc-push
2023-10-06Merge from rustcRalf Jung-716/+604
2023-10-06Preparing for merge from rustcRalf Jung-1/+1
2023-10-06Auto merge of #3110 - eduardosm:rounding-without-host-floats, r=RalfJungbors-30/+27
Do not use host floats in `simd_{ceil,floor,round,trunc}`
2023-10-06Merge commit 'b105fb4c39bc1a010807a6c076193cef8d93c109' into clippyupPhilipp Krones-54/+64
2023-10-06Merge commit 'b105fb4c39bc1a010807a6c076193cef8d93c109' into clippyupPhilipp Krones-768/+2637
2023-10-06Do not use host floats in `simd_{ceil,floor,round,trunc}`Eduardo Sánchez Muñoz-30/+27
2023-10-06Fix problems of Reserved -> FrozenNeven Villani-481/+1097
Reserved loses permissions too quickly. Adding more fine-grained behavior of Reserved lets it lose write permissions only temporarily. Protected tags receive a read access on initialized locations.
2023-10-06Miri: Add `CreateWaitableTimerEx` stubChris Denton-0/+12
This function will always fail, allowing std's `Sleep` fallback path to be taken instead.
2023-10-06Rollup merge of #116475 - notriddle:notriddle/impl-trait-null, r=GuillaumeGomezGuillaume Gomez-1/+1
rustdoc-search: fix bug with multi-item impl trait Preview searches: - https://notriddle.com/rustdoc-html-demo-5/compiler-doc-impl-trait-bugfix/index.html?search=-%3E%20globalctxt - https://notriddle.com/rustdoc-html-demo-5/compiler-doc-impl-trait-bugfix/index.html?search=globalctxt
2023-10-06add a direct dlsym testRalf Jung-19/+38
2023-10-06allow dyn_sym in the files where they are defined; remove unreachable ↵Ralf Jung-19/+25
android code
2023-10-06make some things on foreign_items privateRalf Jung-256/+256
2023-10-06refactor dlsym: dispatch symbols via the normal shim mechanismRalf Jung-461/+168
2023-10-06Make `tidy-alphabetical-{start,end}` work more widely.Nicholas Nethercote-2/+2
Don't restrict it to lines that have `//` in them. This means it can be used in `Cargo.toml` files, for example.
2023-10-06Auto merge of #3098 - BlackHoleFox:apple-entropy, r=RalfJungbors-4/+26
Support getentropy on macOS as a foreign item Prior this was always assumed to be accessed via `dlsym` shim, but in `std` I'm attempting to start [unconditionally linking](https://github.com/rust-lang/rust/pull/116319) to `getentropy` on macOS now that Rust's platform version support allows it. This just moves the main logic of the previous `dlsym` handler into an eval context extension so it can be used via both call paths. The `dlsym` handler is still needed as `getrandom` uses it.
2023-10-06Move getentropy handling to a shared location for foreign item implementationBlackHoleFox-4/+26
2023-10-05rustdoc-search: fix bug with multi-item impl traitMichael Howell-1/+1
2023-10-05Add more diagnostic items for clippyJason Newcomb-271/+191
2023-10-05Auto merge of #3107 - eduardosm:update-deps, r=RalfJungbors-503/+573
Update dependencies
2023-10-06remove the use of `fn update_submodule` on rust-analyzeronur-ozkan-2/+0
We don't need to run `fn update_submodule` on rust-analyzer as it's no longer a submodule. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-05Update test dependenciesEduardo Sánchez Muñoz-92/+162
2023-10-05Update miri-script dependenciesEduardo Sánchez Muñoz-41/+179
2023-10-05Update cargo-miri dependenciesEduardo Sánchez Muñoz-201/+99
2023-10-05Update miri dependenciesEduardo Sánchez Muñoz-169/+133
2023-10-05Remove `try-merge` from CI workflowJakub Beránek-1/+0
2023-10-05Enable new bors try branch to run on CIJakub Beránek-2/+3
2023-10-05Pass host flags to `rustc` shim using prefixed env. varsJakub Beránek-18/+42
2023-10-05Remove unused `RUSTDOC_FUSE_LD_LLD` flagJakub Beránek-4/+0
2023-10-05Rollup merge of #116296 - compiler-errors:default-return, r=estebankJubilee-17/+14
More accurately point to where default return type should go When getting the "default return type" span, instead of pointing to the low span of the next token, point to the high span of the previous token. This: 1. Makes forming return type suggestions more uniform, since we expect them all in the same place. 2. Arguably makes labels easier to understand, since we're pointing to where the implicit `-> ()` would've gone, rather than the starting brace or the semicolon. r? ```@estebank```
2023-10-05Rollup merge of #116223 - catandcoder:master, r=cjgillotJubilee-1/+1
Fix misuses of a vs an Fixes the misuse of "a" vs "an", according to English grammatical expectations and using https://www.a-or-an.com/
2023-10-05Auto merge of #3106 - RalfJung:tree-borrows-initial, r=RalfJungbors-61/+106
Tree Borrows: do not create new tags as 'Active' Cc `@Vanille-N`
2023-10-05Rename `Features::active_features`.Nicholas Nethercote-1/+1
The word "active" is currently used in two different and confusing ways: - `ACTIVE_FEATURES` actually means "available unstable features" - `Features::active_features` actually means "features declared in the crate's code", which can include feature within `ACTIVE_FEATURES` but also others. (This is also distinct from "enabled" features which includes declared features but also some edition-specific features automatically enabled depending on the edition in use.) This commit changes the `Features::active_features` to `Features::declared_features` which actually matches its meaning. Likewise, `Features::active` becomes `Features::declared`.
2023-10-05Tree Borrows: do not create new tags as 'Active'Ralf Jung-61/+106
2023-10-05Auto merge of #3000 - RalfJung:no_std, r=oli-obkbors-19/+22
auto-detect no_std where possible r? `@oli-obk` Cc https://rust-lang.zulipchat.com/#narrow/stream/269128-miri/topic/restricted_std.20sysroot.3F