| Age | Commit message (Collapse) | Author | Lines |
|
Implement the `_mm256_zeroupper` and `_mm256_zeroall` intrinsics
These two intrinsics were missing from the original implementation of the AVX intrinsics.
Fortunately their implementation is trivial.
|
|
|
|
|
|
fix: Don't emit semantic diagnostics in files with a lot of syntax errors
These will only add to the noise when something very unexpected breaks or where parser recovery fails to kick in.
|
|
|
|
|
|
Rollup of 8 pull requests
Successful merges:
- #123588 (Stabilize `hint::assert_unchecked`)
- #126403 (Actually report normalization-based type errors correctly for alias-relate obligations in new solver)
- #126917 (Disable rmake test `inaccessible-temp-dir` on riscv64)
- #127115 (unreferenced-used-static: run test everywhere)
- #127204 (Stabilize atomic_bool_fetch_not)
- #127239 (remove unnecessary ignore-endian-big from stack-overflow-trait-infer …)
- #127245 (Add a test for `generic_const_exprs`)
- #127246 (Give remote-test-client a longer timeout)
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
ferrocene:hoverbear/remote-test-client-has-longer-timeout, r=Mark-Simulacrum
Give remote-test-client a longer timeout
In https://github.com/rust-lang/rust/pull/126959, ``@Mark-Simulacrum`` suggested we simply extend the timeout of the `remote-test-client` instead of making it configurable. This is acceptable for my use case.
I'm doing some work with a remote host running tests using `x.py`'s remote test runner system.
After building the `remote-test-server` with:
```bash
./x build src/tools/remote-test-server --target aarch64-unknown-linux-gnu
```
I can transfer the `remote-test-server` to the remote and set up a port forwarded SSH connection, then I run:
```bash
TEST_DEVICE_ADDR=127.0.0.1:12345 ./x.py test library/core --target aarch64-unknown-linux-gnu
```
This works great if the host is nearby, however if the average round trip time is over 100ms (the timeout), it creates problems as it silently trips the timeout.
This PR extends that timeout to a less strict 2s.
r? ``@Mark-Simulacrum``
|
|
|
|
|
|
|
|
|
|
Add syscall `dup()` for unix target
Add support for `dup()` and `dup2()`.
Fixes #3454
|
|
|
|
|
|
chore: remove duplicate words
remove duplicate words in comments to improve readability.
|
|
Fix `FnMut::call_mut`/`Fn::call` shim for async closures that capture references
I adjusted async closures to be able to implement `Fn` and `FnMut` *even if* they capture references, as long as those references did not need to borrow data from the closure captures themselves. See #125259.
However, when I did this, I didn't actually relax an assertion in the `build_construct_coroutine_by_move_shim` shim code, which builds the `Fn`/`FnMut`/`FnOnce` implementations for async closures. Therefore, if we actually tried to *call* `FnMut`/`Fn` on async closures, it would ICE.
This PR adjusts this assertion to ensure that we only capture immutable references in closures if they implement `Fn`/`FnMut`. It also adds a bunch of tests and makes more of the async-closure tests into `build-pass` since we often care about these tests actually generating the right closure shims and stuff. I think it might be excessive to *always* use build-pass here, but 🤷 it's not that big of a deal.
Fixes #127019
Fixes #127012
r? oli-obk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use the symbol_name query instead of trying to infer from the link_name attribute
This prevents the calculated name from going out of sync with exported_symbols. It also avoids having to special case the panic_impl lang item.
It also makes it easier to fix miri with https://github.com/rust-lang/rust/pull/127173.
|
|
|
|
|
|
|
|
|
|
Migrate `run-make/llvm-ident` to `rmake.rs`
Part of https://github.com/rust-lang/rust/issues/121876.
r? `@Kobzol`
try-job: armhf-gnu
|
|
Improve run-make-support API
I think I'll slowly continue this work. Makes things a bit nicer for contributors, so why not. :D
r? ``@Kobzol``
|
|
Migrate `volatile-intrinsics`, `weird-output-filenames`, `wasm-override-linker`, `wasm-exceptions-nostd` to `rmake`
Also refactors `wasm-abi` and `compressed-debuginfo`.
Part of #121876.
r? ``@jieyouxu``
try-job: x86_64-gnu-debug
try-job: dist-various-2
|
|
attribute
This prevents the calculated name from going out of sync with
exported_symbols. It also avoids having to special case the panic_impl
lang item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pass cargo extra args when debugging
fixes #17128
|
|
do not normalize `use foo::{self}` to `use foo`
It changes behaviour and can cause collisions. E.g. for the following snippet
```rs
mod foo {
pub mod bar {}
pub const bar: i32 = 8;
}
// transforming the below to `use foo::bar;` causes the error:
//
// the name `bar` is defined multiple times
use foo::bar::{self};
const bar: u32 = 99;
fn main() {
let local_bar = bar;
}
```
we still normalize
```rs
use foo::bar;
use foo::bar::{self};
```
to `use foo::bar;` because this cannot cause collisions.
See: https://github.com/rust-lang/rust-analyzer/pull/17140#issuecomment-2079189725
|
|
|
|
|
|
internal: Cut compiletimes slightly
|
|
|
|
|
|
Improve `run-make-support` library `args` API
It allows to pass both `Vec` and slices, which makes it much better (for me at least :wink:).
r? ``@Kobzol``
|
|
Remove the `box_pointers` lint.
As the comment says, this lint "is mostly historical, and not particularly useful". It's not worth keeping it around.
r? ``@estebank``
|