about summary refs log tree commit diff
path: root/src/tools/miri
AgeCommit message (Collapse)AuthorLines
2024-05-09interpret/miri: better errors on failing offset_fromRalf Jung-0/+36
2024-05-09Auto merge of #3591 - RalfJung:win-symlink-trouble, r=RalfJungbors-150/+151
do not run symlink tests on Windows hosts Fixes https://github.com/rust-lang/miri/issues/3587
2024-05-09do not run symlink tests on Windows hostsRalf Jung-150/+151
2024-05-09make RUSTC_BLESS entirely an internal thingRalf Jung-3/+4
2024-05-09make MIRI_TEST_TARGET entirely an internal thingRalf Jung-143/+175
2024-05-09Auto merge of #3588 - RossSmyth:CliTarget, r=RalfJungbors-30/+80
Allow test targets to be set via CLI args Fixes #3584 I'm not a pro shell script reader as I am a Windows user, but we shall see if the CI script broke.
2024-05-09minor tweaksRalf Jung-6/+5
2024-05-08Update documentation for miri-script test changesRoss Smyth-6/+5
2024-05-08Update CI script for the miri-script test changesRoss Smyth-2/+2
2024-05-08Allow test targets to be set via CLI argsRoss Smyth-23/+75
2024-05-08Rollup merge of #124876 - nnethercote:rm-use-crate-rustc_foo, r=compiler-errorsMatthias Krüger-1/+1
Simplify `use crate::rustc_foo::bar` occurrences. They can just be written as `use rustc_foo::bar`, which is far more standard. (I didn't even know that a `crate::` prefix was valid.) r? ``@eholk``
2024-05-08Auto merge of #3580 - tiif:feat/malloc0-non-null-pointer, r=RalfJungbors-19/+74
Implement non-null pointer for malloc(0) Use non-null pointer for malloc(0) as mentioned in #3576 to detect leaks and double free of ``malloc(0)`` addresses.
2024-05-09Implement non-null pointer for malloc(0)tiif-19/+74
2024-05-08Use generic `NonZero`.Markus Reiter-28/+28
2024-05-08Auto merge of #3589 - RalfJung:io-error, r=RalfJungbors-34/+31
io::Error handling: keep around the full io::Error for longer so we can give better errors This should help with the error message in https://github.com/rust-lang/miri/issues/3587.
2024-05-08io::Error handling: keep around the full io::Error for longer so we can give ↵Ralf Jung-34/+31
better errors
2024-05-08miri: rename intrinsic_fallback_checks_ub to intrinsic_fallback_is_specRalf Jung-18/+18
2024-05-08Simplify `use crate::rustc_foo::bar` occurrences.Nicholas Nethercote-1/+1
They can just be written as `use rustc_foo::bar`, which is far more standard. (I didn't even know that a `crate::` prefix was valid.)
2024-05-07remove problems that I do not think we have seen in a whileRalf Jung-13/+0
2024-05-07README: update introductionRalf Jung-39/+31
2024-05-06Auto merge of #3579 - RalfJung:libc, r=RalfJungbors-208/+211
organize libc tests into a proper folder, and run some of them on Windows
2024-05-06organize libc tests into a proper folder, and run some of them on WindowsRalf Jung-208/+211
2024-05-06Implement wcslenAsger Hautop Drewsen-9/+64
2024-05-06Auto merge of #3578 - RalfJung:realloc, r=RalfJungbors-7/+1
avoid code duplication between realloc and malloc
2024-05-06avoid code duplication between realloc and mallocRalf Jung-7/+1
2024-05-05Auto merge of #3574 - RalfJung:deps, r=RalfJungbors-163/+17
reduce test_dependencies Also add comments for why we need all these 3 random functions for Windows, and the old Linux syscall interface.
2024-05-05getrandom: test with and without isolationRalf Jung-23/+16
also add some comments for why we keep certain old obscure APIs supported
2024-05-05remove rand testRalf Jung-61/+0
the actual target-specific things we want to test are all in getrandom, and rand already tests miri itself
2024-05-05reduce tokio featuresRalf Jung-79/+1
2024-05-05Auto merge of #3570 - devnexen:solaris_build_fix, r=RalfJungbors-8/+27
Solaris: make pre-main code work Fixes https://github.com/rust-lang/miri/issues/3566
2024-05-05solaris support start.David Carlier-8/+27
2024-05-05unix/fs: a bit of cleanup around host-specific codeRalf Jung-28/+18
2024-05-05Auto merge of #3565 - RalfJung:libc, r=RalfJungbors-451/+418
re-organize libc tests And share some more things across unices
2024-05-05hello: also ensure stderr worksRalf Jung-0/+2
2024-05-05move randomness tests into a single file and share the getrandom ↵Ralf Jung-88/+55
implementation across unices
2024-05-05move things out of libc-misc that have a better home; make libc-misc work on ↵Ralf Jung-364/+362
illumos
2024-05-05Auto merge of #3569 - RalfJung:cargo-update, r=RalfJungbors-335/+309
housekeeping: update dependencies This also pulls in the new rustc-build-sysroot that hides all the unexpected_cfgs noise.
2024-05-05housekeeping: update dependenciesRalf Jung-335/+309
2024-05-05unix/thread: properly use pthread_t for thread IDsRalf Jung-5/+7
2024-05-05sanity-check the pthread offsets against the static initializersRalf Jung-26/+123
2024-05-05pthread shims: reorganize field offset handlingRalf Jung-191/+134
2024-05-05illumos support.David Carlier-24/+102
2024-05-04make ExitProcess Windows-onlyRalf Jung-8/+8
2024-05-04fix/extend some commentsRalf Jung-1/+2
2024-05-04rustc_pull: explain order of operationsRalf Jung-0/+2
2024-05-04Merge from rustcRalf Jung-223/+183
2024-05-04Preparing for merge from rustcRalf Jung-1/+1
2024-05-04only show the 'basic API common for this target' message when this is a ↵Ralf Jung-44/+34
missing foreign function
2024-05-04Auto merge of #3561 - RalfJung:rustup, r=RalfJungbors-38/+74
Rustup
2024-05-04Auto merge of #3557 - RalfJung:getaffinity, r=RalfJungbors-19/+13
Move sched_getaffinity back to Linux This reverts commit c1a3f8576ea12b0bed68ad3dedf4069ca3d9816f. The shim isn't actually useful for anything, and it is untested on FreeBSD. On Linux it exists solely because std and num_cpus are trying this before falling back to `sysconf`, but on FreeBSD that's not how they work, so there's no reason I can see to have this stub shim on FreeBSD.