summaryrefslogtreecommitdiff
path: root/experimental/mrustc/mrustc-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/mrustc/mrustc-flags.patch')
-rw-r--r--experimental/mrustc/mrustc-flags.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/experimental/mrustc/mrustc-flags.patch b/experimental/mrustc/mrustc-flags.patch
deleted file mode 100644
index 3e159fa2b..000000000
--- a/experimental/mrustc/mrustc-flags.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ur a/minicargo.mk b/minicargo.mk
---- a/minicargo.mk 2024-12-17 17:08:13.022785295 +0000
-+++ b/minicargo.mk 2024-12-17 17:09:23.464691993 +0000
-@@ -64,6 +64,7 @@
- ifeq ($(MRUSTC_TARGET),)
- else
- MINICARGO_FLAGS += --target $(MRUSTC_TARGET)
-+ MRUSTC_FLAGS += --target $(MRUSTC_TARGET)
- endif
-
- OUTDIR := output$(OUTDIR_SUF)/
-@@ -322,7 +323,7 @@
- $(OUTDIR)rust/test_run-pass_hello: $(SRCDIR_RUST_TESTS)$(HELLO_TEST) LIBS
- @mkdir -p $(dir $@)
- @echo "--- [MRUSTC] -o $@"
-- $(DBG) $(MRUSTC) $< -o $@ --cfg debug_assertions -g -O -L $(OUTDIR) > $@_dbg.txt
-+ $(DBG) $(MRUSTC) $< -o $@ --cfg debug_assertions -g -O -L $(OUTDIR) $(MRUSTC_FLAGS) > $@_dbg.txt
- $(OUTDIR)rust/test_run-pass_hello_out.txt: $(OUTDIR)rust/test_run-pass_hello
- @echo "--- [$<]"
- @./$< | tee $@