about summary refs log tree commit diff
path: root/src/tools/miri
AgeCommit message (Collapse)AuthorLines
2022-11-06README: Add macos cache deletion commandMartin Kröning-2/+5
2022-11-06remove a stray stderr fileRalf Jung-12/+1
2022-11-06Auto merge of #2638 - DrMeepster:windows-condvars, r=RalfJungbors-30/+504
Implement condvars for Windows Adds 3 shims for Windows: `SleepConditionVariableSRW`, `WakeConditionVariable`, `WakeAllConditionVariable` to add support for condvars (which fixes #2628). Salvaged from what was removed from #2231
2022-11-05fix shared behavior and add testsDrMeepster-3/+290
2022-11-05use enum for condvar locksDrMeepster-44/+76
2022-11-05impl condvars for windowsDrMeepster-30/+185
2022-11-05Merge from rustcRalf Jung-59/+13
2022-11-05Rollup merge of #103660 - ozkanonur:master, r=jyn514Dylan DPC-59/+11
improve `filesearch::get_or_default_sysroot` `fn get_or_default_sysroot` is now improved and used in `miri` and `clippy`, and tests are still passing as they should. So we no longer need to implement custom workarounds/hacks to find sysroot in tools like miri/clippy. Resolves https://github.com/rust-lang/rust/issues/98832 re-opened from #103581
2022-11-04Auto merge of #2641 - DrMeepster:init_once_acquire, r=RalfJungbors-33/+97
InitOnce: synchronize with completion when already complete The completion of an InitOnce happens-before the threads waiting on it wake up. However, this is not the case for threads that call `InitOnceBeginInitialize` after the completion, leading to data races and outdated weak memory loads as observed in the CI for #2638. This PR fixes this.
2022-11-04improve `filesearch::get_or_default_sysroot` r=ozkanonurOnur Özkan-59/+11
Signed-off-by: Onur Özkan <work@onurozkan.dev>
2022-11-03clarify no_data_race_after_complete testDrMeepster-2/+2
2022-11-03refactor into private functionsDrMeepster-26/+51
2022-11-02fix ./miri benchRalf Jung-1/+4
2022-10-31Auto merge of #102950 - oli-obk:check_miri, r=RalfJungbors-0/+2
Enable `x.py check` for miri Now that the miri subtree is working properly, let's add it to x.py check. cc `@rust-lang/miri`
2022-10-31bump up recursion limit for miri crateRalf Jung-0/+2
2022-10-31followup for pr 2640Rageking8-1/+1
2022-10-30add acquire when init once is already completeDrMeepster-20/+59
2022-10-31fix dupe word typosRageking8-2/+2
2022-10-30rustupRalf Jung-2/+2
2022-10-30Merge from rustcRalf Jung-4/+3
2022-10-30Auto merge of #103721 - RalfJung:miri, r=RalfJungbors-74/+346
update Miri Noteworthy PRs: - https://github.com/rust-lang/miri/pull/2624 - https://github.com/rust-lang/miri/pull/2626 - https://github.com/rust-lang/miri/pull/2630 - https://github.com/rust-lang/miri/pull/2631
2022-10-29Stacked Borrows: make scalar field retagging the defaultRalf Jung-42/+76
2022-10-29Auto merge of #2634 - RalfJung:miri-script, r=oli-obkbors-111/+146
./miri updates: toolchain, rustc-push, rustc-pull This merges the `./rustup-toolchain` script into `./miri` as `./miri toolchain`, and adds two new commands for josh-based syncing. r? `@rust-lang/miri`
2022-10-29explain how to go back to rustup-managed MiriRalf Jung-0/+3
2022-10-29merge rustup-toolchain into ./miriRalf Jung-68/+58
2022-10-29teach ./miri how to do Josh syncsRalf Jung-44/+89
2022-10-28relative futex and condvar timeouts can work with isolationRalf Jung-7/+100
2022-10-28cleanup some test cfgRalf Jung-13/+11
2022-10-28test most sync primitives on WindowsRalf Jung-5/+16
2022-10-28simplify Linux futex impl a bitRalf Jung-22/+7
2022-10-28threadleak_ignored should now pass with preemption (the issue has been fixed ↵Ralf Jung-2/+1
a while ago)
2022-10-28implement thread parking on WindowsRalf Jung-8/+155
2022-10-28update ignore-windows commentsRalf Jung-7/+5
2022-10-28Auto merge of #2626 - RalfJung:pthread_setname_np, r=RalfJungbors-4/+19
pthread_setname_np returns an int on macOS Fixes https://github.com/rust-lang/miri/issues/2625
2022-10-28pthread_setname_np returns an int on macOSRalf Jung-4/+19
2022-10-27Implement `ptr_mask` intrinsicMaybe Waffle-1/+30
2022-10-27Update miriMaybe Waffle-4/+3
2022-10-27change cronjob timeRalf Jung-1/+1
2022-10-26Auto merge of #2622 - RalfJung:ci, r=RalfJungbors-7/+3
simplify GHA I think we can just list the cases with `include:` and don't also need this `build` array.
2022-10-26simplify GHARalf Jung-7/+3
2022-10-26test on windows-gnu targetRalf Jung-0/+1
2022-10-26Auto merge of #2620 - RalfJung:getname, r=RalfJungbors-36/+152
add pthread_getname_np A new libstd test needs this, and there doesn't seem to be a good reason not to have this.
2022-10-26account for different max thread name lengths on different platformsRalf Jung-7/+23
2022-10-26add pthread_getname_npRalf Jung-31/+131
2022-10-26tweak docsRalf Jung-1/+4
2022-10-25Rename, improve docs, fail betterBen Kimock-14/+44
2022-10-25bless clippyRalf Jung-34/+34
2022-10-25rustupRalf Jung-1/+1
2022-10-25Merge branch 'master' of ↵Ralf Jung-3/+3
http://localhost:8000/rust-lang/rust.git:at_commit=75dd959a3a40eb5b4574f8d2e23aa6efbeb33573[:prefix=src/tools/miri]:/src/tools/miri
2022-10-25Auto merge of #103392 - RalfJung:miri, r=oli-obkbors-465/+1467
update Miri I had to use a hacked version of josh to create this, so let's be careful with merging this and maybe wait a bit to see if the josh issue becomes more clear. But the history looks good to me, we are not adding duplicates of rustc commits that were previously mirrored to Miri. Also I want to add some cross-testing of Miri in x.py.