Ralf Jung
2b3b83eb2c
canonicalize miri's directory
2020-09-17 17:29:19 +02:00
Ralf Jung
e310e2f0b9
set --target when building miri
...
This helps cargo tell apart `./miri` builds and `cargo check` (e.g. through rust-analyzer).
See https://github.com/rust-lang/cargo/issues/8440 .
2020-07-03 11:18:47 +02:00
Ralf Jung
35964b10b0
no workspace as that is incompatible with the rustc submodule
2020-05-28 08:53:44 +02:00
Ralf Jung
b71fea710c
just respect existing RUSTFLAGS instead of providing another override
2020-05-28 08:53:44 +02:00
Ralf Jung
0790f75ae4
make cargo-miri a separate crate in a workspace
2020-05-28 08:53:44 +02:00
Ralf Jung
3554f54173
make just ./miri print help text without 'unknown command'
2020-04-06 09:34:27 +02:00
Ralf Jung
0b07f6f5d3
set CARGO_INCREMENTAL=0 on CI, it's just a waste of time there
2020-04-02 09:49:48 +02:00
Ralf Jung
f751688396
miri build script: use incremental builds
2020-03-28 10:29:17 +01:00
Ralf Jung
eb3be2f97d
./miri check
2020-03-21 17:43:28 +01:00
Ralf Jung
274e72996e
miri script does not need to handle locally built rustc any more
2019-11-23 10:36:23 +01:00
Ralf Jung
324fed316f
print sysroot without any escaping
2019-10-19 16:38:37 +02:00
Ralf Jung
6ef7c0886c
deny warnings on CI
2019-08-15 11:14:45 +02:00
Ralf Jung
68d7e4ebb0
local rustc builds now also need a sysroot built
...
With the test-miri flag gone, the libstd of local builds isn't good enough for Miri any more.
2019-08-09 11:29:12 +02:00
Joshua Nelson
38b947b953
Show usage if run without arguments
...
Before, running `./miri` without arguments gave
'./miri: 92: shift: can't shift that many' if run with /bin/sh,
or no output at all when run with bash.
Although that gives some indication of the error, it's not as helpful as
showing the usage.
2019-06-27 21:47:09 -04:00
Ralf Jung
3b7ae049ee
make sure that find_sysroot always sets MIRI_SYSROOT
2019-06-09 19:41:58 +02:00
Ralf Jung
b0b082d4d8
do not handle MIRI_SYSROOT in the driver at all, rely fully on the --sysroot flag
2019-06-09 17:10:04 +02:00
Ralf Jung
16cc5ddacb
tweak logic for determining rustc default target
2019-05-29 09:39:49 +02:00
Ralf Jung
35b4d9fd8a
print usage information on invalid command
2019-05-29 09:36:59 +02:00
Ralf Jung
bf9f26401f
also pass flags to install
2019-05-28 19:20:01 +02:00
Ralf Jung
d55d04780c
reference cargo issue
2019-05-28 19:04:31 +02:00
Ralf Jung
ed0c6e8336
miri build script: support building miri in debug mode
2019-05-28 19:01:43 +02:00
Ralf Jung
0b6b7dad8f
fix more indentation
2019-05-27 15:35:48 +02:00
Ralf Jung
a358590679
fix indentation
2019-05-27 15:05:55 +02:00
Ralf Jung
7f3a298f6d
improve macOS-compatibility by being more awful
2019-05-27 15:02:17 +02:00
Ralf Jung
cf96396fcc
make miri script smarter: auto-determine MIRI_SYSROOT, handle MIRI_TEST_TARGET
2019-05-27 14:41:44 +02:00
Ralf Jung
eb85ced8c7
improve backtraces
2019-05-27 13:08:47 +02:00
Ralf Jung
ab1f60c910
comments
2019-05-27 13:04:18 +02:00
Ralf Jung
c2791fc56a
add 'miri' script to help build, test and run miri
2019-05-27 12:51:59 +02:00
Oliver Schneider
27fe263669
Move back to a normal folder structure
2018-05-09 14:37:00 +02:00
Oliver Schneider
ce7605caaa
Fix some bad conversions on 32 bit emulation
2018-05-09 11:52:41 +02:00
Oliver Schneider
e0e1bd7ff7
Pointers must be valid, even pointers to zsts
2018-05-07 18:03:28 +02:00
Oliver Schneider
6653bb38d5
Implement missing intrinsic
2018-05-07 18:02:57 +02:00
Oliver Schneider
0a88698daf
Hide some warnings/Fix build
2018-05-07 10:49:54 +02:00
Oliver Schneider
3ffc237772
Merge pull request #373 from bjorn3/alloc_fix
...
Alloc api fix and tmp disable validation_op because of ICE
2018-05-07 10:48:43 +02:00
Oliver Schneider
7c45bfca75
Merge branch 'rustup' into nightly-fix
2018-05-07 10:47:58 +02:00
Oliver Schneider
0eb3c18565
Use a deterministic method for executing the start lang item
2018-05-07 10:46:32 +02:00
Oliver Schneider
860e2b802f
Dedup tag reading
2018-05-07 10:44:18 +02:00
Oliver Schneider
42ab1351f4
Merge branch 'rustup' into alloc_fix
2018-05-07 10:42:15 +02:00
bjorn3
6bc35f77ce
Fix allocator api and temporarily disable validation_op
2018-05-07 10:38:13 +02:00
Oliver Schneider
b0d3daed40
Rustup
2018-05-07 10:18:45 +02:00
Alexander Regueiro
3d8c7a8dba
Fixed build for latest nightly
2018-05-03 23:29:13 +01:00
Alexander Regueiro
915695371f
Minor fix to get build working
2018-05-03 21:58:53 +01:00
Oliver Schneider
76573bac16
Merge pull request #370 from alexreg/nightly-fix
...
Fixed build for latest rust master
2018-05-01 22:13:52 +02:00
Alexander Regueiro
3dba298f14
Fixed build for latest nightly
2018-05-01 19:39:59 +01:00
bjorn3
ba1c88a3c1
Rustup to rustc 1.27.0-nightly ( 79252ff4e
2018-04-29)
2018-05-01 11:04:01 +02:00
Oliver Schneider
f48fed70d4
Rustup
2018-04-17 14:26:17 +02:00
Oliver Schneider
3f1b2bdd68
Mirror function rename in rustc
2018-04-13 16:25:26 +02:00
Oliver Schneider
95a8771bf1
Fixup various things needed to get miri working on rustc
2018-04-13 16:04:57 +02:00
bjorn3
9d186d914e
Update Cargo.lock and some improvements
2018-04-13 16:04:57 +02:00
bjorn3
7bd20f1b12
Some cleanups
2018-04-13 16:04:57 +02:00