improve macOS-compatibility by being more awful
This commit is contained in:
parent
cf96396fcc
commit
7f3a298f6d
1 changed files with 2 additions and 1 deletions
3
miri
3
miri
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
TARGET=$(rustc --print target-spec-json -Z unstable-options | jq '.["llvm-target"]' -r)
|
||||
# I'd love to use `jq` for parsing the JSON properly, but macOS is totally underequipped for this kind of work.
|
||||
TARGET=$(rustc --print target-spec-json -Z unstable-options | grep llvm-target | cut -d '"' -f 4)
|
||||
SYSROOT=$(rustc --print sysroot)
|
||||
# We set the rpath so that Miri finds the private rustc libraries it needs.
|
||||
# We enable debug-assertions to get tracing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue