Commit Graph

147599 Commits

Author SHA1 Message Date
The Miri Cronjob Bot aeef18043e Preparing for merge from rustc 2024-05-03 04:56:14 +00:00
bors f6c0090064 Auto merge of #3535 - RalfJung:host-float, r=RalfJung
update host-float comments

Turns out most of these do not have guaranteed precision anyway so it's fine to use host floats (see https://github.com/rust-lang/rust/pull/121793 and https://github.com/rust-lang/rust/pull/118217). The exception are sqrt and mul_add, tracked at https://github.com/rust-lang/miri/issues/3534 and https://github.com/rust-lang/miri/issues/2995.
2024-05-02 17:16:10 +00:00
Ralf Jung 36caaa9f4f update host-float comments 2024-05-02 19:13:28 +02:00
bors ca3defe245 Auto merge of #3532 - RalfJung:tb-protectors, r=RalfJung
Tree Borrows: first apply transition, then check protector with new 'initialized'
2024-05-02 09:17:18 +00:00
Ralf Jung aa986f0800 Tree Borrows: first apply transition, then check protector with new 'initialized' 2024-05-02 11:09:01 +02:00
Paul Gey a2b3211b19 no longer strip Preparing a sysroot message from test output 2024-05-01 21:53:09 +02:00
Paul Gey 4b4262691d fix usage example for --print-sysroot 2024-05-01 21:53:09 +02:00
Paul Gey 1cf951e5c6 Don’t print Preparing a sysroot when -q/--quiet is passed 2024-05-01 21:53:02 +02:00
bors 1c7e82762f Auto merge of #3523 - saethlin:localtime_r-env, r=RalfJung
Use the interpreted program's TZ variable in localtime_r

This requires a bit of wiring and a new dependency, but the tests should correctly pass now regardless of what the host's time zone is.

Fixes https://github.com/rust-lang/miri/issues/3522
2024-04-29 15:35:27 +00:00
Ralf Jung 7afef08b6d don't leak UnixEnvVars impl details into get_env_var 2024-04-29 17:33:35 +02:00
Ben Kimock 9bed19edc4 Refactor UnixEnvVars::get so that it can be reused by getenv 2024-04-28 17:45:14 -04:00
Ben Kimock 622f697f5d Use the interpreted program's TZ variable in localtime_r 2024-04-28 11:09:29 -04:00
bors bc8ea9324c Auto merge of #3524 - RalfJung:fd-write, r=RalfJung
file descriptors: make write take &mut self
2024-04-28 08:00:44 +00:00
Ralf Jung b5482aad01 file descriptors: make write take &mut self 2024-04-28 09:39:20 +02:00
Eduardo Sánchez Muñoz b26153555f Do not implement x86 SIMD abs with host integers 2024-04-27 17:43:39 +02:00
Eduardo Sánchez Muñoz b3b1b498b9 Clarify behavior of AVX2 gather when dest and offsets have different numbers of elements 2024-04-27 16:41:27 +02:00
Eduardo Sánchez Muñoz ee47a8e6b6 Add doc comment to pack_generic 2024-04-27 16:23:44 +02:00
bors 45d93945ad Auto merge of #3520 - RalfJung:josh-check, r=RalfJung
josh rustc-pull: check that no new root commits get created

A second root was a bad sign in Miri (judging from the description in https://github.com/rust-lang/miri/pull/2583) and seems to be a [bad sign in RA](https://github.com/rust-lang/rust-analyzer/pull/17025#issuecomment-2080390014). So let's add this to the sanity checks.
2024-04-27 08:20:22 +00:00
Hamir Mahal 39f7a46d63 fix: usage of deprecated version of Node.js 2024-04-27 00:15:39 -07:00
Ralf Jung 2681edf934 josh rustc-pull: check that no new root commits get created 2024-04-27 08:57:55 +02:00
Ralf Jung 454f09d891 env: split up Windows and Unix environment variable handling 2024-04-26 22:16:16 +02:00
Ralf Jung 26af88aced add test for concurrent env var access 2024-04-26 19:47:35 +02:00
bors d7c89cfbf8 Auto merge of #3516 - RalfJung:pathbuf, r=RalfJung
add smoke tests for basic PathBuf interactions

I wrote these while debugging [this](https://github.com/rust-lang/miri-test-libstd/actions/runs/8849912635/job/24302962983); it turns out the issue is [more complicated](https://github.com/rust-lang/rust/issues/124409) but these tests still seemed worth keeping.
2024-04-26 15:47:17 +00:00
Ralf Jung 2935cd93c2 add smoke tests for basic PathBuf interactions 2024-04-26 17:44:37 +02:00
The Miri Cronjob Bot 4be9c689f6 Merge from rustc 2024-04-26 05:08:12 +00:00
The Miri Cronjob Bot 4dcc2fac06 Preparing for merge from rustc 2024-04-26 04:58:30 +00:00
Vadim Petrochenkov 98804c1786 debuginfo: Stabilize -Z debug-macros, -Z collapse-macro-debuginfo and #[collapse_debuginfo]
`-Z debug-macros` is "stabilized" by enabling it by default and removing.

`-Z collapse-macro-debuginfo` is stabilized as `-C collapse-macro-debuginfo`.
It now supports all typical boolean values (`parse_opt_bool`) in addition to just yes/no.

Default value of `collapse_debuginfo` was changed from `false` to `external` (i.e. collapsed if external, not collapsed if local).
`#[collapse_debuginfo]` attribute without a value is no longer supported to avoid guessing the default.
2024-04-25 22:14:47 +03:00
bors 6a9758d4f3 Auto merge of #124058 - TechVest:master, r=fmease
Fix some typos in comments
2024-04-25 13:02:08 +00:00
bors 1c84675e1f Auto merge of #124368 - RalfJung:miri, r=RalfJung
Miri subtree update

r? `@ghost`
2024-04-25 10:59:13 +00:00
bors d93f9ae3ee Auto merge of #3514 - RalfJung:hyperfine, r=RalfJung
CI: run benches with hyperfine rather than bash

The hyperfine installation is cached so this should not cost a lot of CI time.

This is step 1/2 to getting rid of the BASH variable hack.
2024-04-25 09:16:32 +00:00
Ralf Jung 505e4dd7ba CI: run benches with hyperfine rather than bash 2024-04-25 11:14:22 +02:00
bors 97132949f7 Auto merge of #3501 - RalfJung:tls-many-seeds, r=RalfJung
add a test for the TLS memory leak

This is a regression test for https://github.com/rust-lang/rust/issues/123583.
2024-04-25 08:14:58 +00:00
Ralf Jung 247e82cb83 run many-seeds tests at least a few times on all tier 1 targets 2024-04-25 09:53:34 +02:00
Ralf Jung ea9cff254f add a test for the TLS memory leak 2024-04-25 09:51:15 +02:00
Ralf Jung f38dba69b1 weak memory outdated loads: show where the load was from 2024-04-25 09:51:15 +02:00
bors e22a73c6d0 Auto merge of #3512 - RalfJung:miri-script-build, r=RalfJung
make miri-script a workspace root

This is needed to make miri-script build on stable (as is done by the `./miri` script) when the parent package uses unstable cargo features.
2024-04-25 07:20:16 +00:00
bors 9d7a47fe31 Auto merge of #3513 - rust-lang:rustup-2024-04-25, r=RalfJung
Automatic Rustup
2024-04-25 06:48:37 +00:00
bors c69c79d42a Auto merge of #3505 - RalfJung:ci, r=RalfJung
CI: don't run cron-fail-notify when the job just got canceled

Doesn't seem right to prepare a PR in that case
2024-04-25 06:16:47 +00:00
The Miri Cronjob Bot 258e5043a1 fmt 2024-04-25 05:05:41 +00:00
The Miri Cronjob Bot ff6fc75781 Merge from rustc 2024-04-25 05:04:32 +00:00
The Miri Cronjob Bot bed7caf206 Preparing for merge from rustc 2024-04-25 04:57:07 +00:00
Matthias Krüger 036bf570ad Rollup merge of #124327 - Kobzol:ci-skip-jobs, r=pietroalbini
CI: implement job skipping in Python matrix calculation

This removes the `step` YAML anchor and the corresponding bash script.

Best reviewed commit-by-commit.

r? ```@pietroalbini```
2024-04-25 06:31:04 +02:00
Matthias Krüger a2d6b1b2d6 Rollup merge of #124257 - JoverZhang:rmake-diff, r=jieyouxu
Rewrite the `no-input-file.stderr` test in Rust and support diff

Rewrite the `no-input-file.stderr` test from #121876.
Use the `similar` lib to replace the `diff` command.
2024-04-25 06:31:03 +02:00
TechVest 45df09b7de Fix some typos in comments
Signed-off-by: TechVest <techdashen@qq.com>
2024-04-25 10:47:24 +08:00
Jover Zhang f3530cf003 Rewrite no-input-file.stderr test in Rust and support diff 2024-04-25 09:10:10 +08:00
Matthias Krüger ecf794bc69 Rollup merge of #124335 - ChrisDenton:stabilize-absolute, r=dtolnay
Stabilize `std::path::absolute`

FCP complete in https://github.com/rust-lang/rust/issues/92750#issuecomment-2075046985
2024-04-25 00:19:56 +02:00
Matthias Krüger f46b828b55 Rollup merge of #124333 - Urgau:better-bad-print, r=fmease
Improve diagnostic for unknown `--print` request

This PR improves the diagnostic when encountering a unknown `--print` request.

It also moves the run-make test to a simple UI test.
2024-04-25 00:19:55 +02:00
Matthias Krüger 177139032a Rollup merge of #124322 - whosehang:master, r=Nilstrieb
chore: fix some typos in comments
2024-04-25 00:19:54 +02:00
bors ef8b9dcf23 Auto merge of #124330 - fmease:rollup-a98y7jf, r=fmease
Rollup of 6 pull requests

Successful merges:

 - #123316 (Test `#[unix_sigpipe = "inherit"]` with both `SIG_DFL` and `SIG_IGN`)
 - #123794 (More DefineOpaqueTypes::Yes)
 - #123881 (Bump Fuchsia versions)
 - #124281 (fix weak memory bug in TLS on Windows)
 - #124282 (windows fill_utf16_buf: explain the expected return value)
 - #124308 (Add diagnostic item for `std::iter::Enumerate`)

r? `@ghost`
`@rustbot` modify labels: rollup
2024-04-24 19:26:50 +00:00
Ralf Jung 8c24fe1085 make miri-script a workspace root 2024-04-24 18:05:03 +02:00