Skip to content

Commit 7f3a298

Browse files
committed
improve macOS-compatibility by being more awful
1 parent cf96396 commit 7f3a298

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

miri

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
22
set -e
3-
TARGET=$(rustc --print target-spec-json -Z unstable-options | jq '.["llvm-target"]' -r)
3+
# I'd love to use `jq` for parsing the JSON properly, but macOS is totally underequipped for this kind of work.
4+
TARGET=$(rustc --print target-spec-json -Z unstable-options | grep llvm-target | cut -d '"' -f 4)
45
SYSROOT=$(rustc --print sysroot)
56
# We set the rpath so that Miri finds the private rustc libraries it needs.
67
# We enable debug-assertions to get tracing.

0 commit comments

Comments
 (0)