File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ version = "0.1.0"
44edition = " 2021"
55publish = false
66
7+ [profile .dev ]
8+ panic = " abort"
9+
710[profile .release ]
811opt-level = ' z' # turn on maximum optimizations. We only have 64kB
912lto = true # Link-time-optimizations for further size reduction
13+ panic = " abort"
1014
1115[lib ]
1216crate-type = [" staticlib" ]
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ RUSTEMU_INCLUDE_DIR := $(RUSTEMU_DIR)/include/
2222RUSTEMU_TARGET_DIR := $(RUSTEMU_DIR ) /target/x86_64-unknown-linux-gnu/release
2323RUSTEMU_HEADER := $(RUSTEMU_INCLUDE_DIR ) /rustemu.h
2424RUSTEMU_LIBRARY := $(RUSTEMU_TARGET_DIR ) /librustemu.a
25- RUSTEMU_SRC := $(shell find $(RUSTEMU_DIR ) /src -name '* .rs')
25+ RUSTEMU_SOURCES := $(shell find $(RUSTEMU_DIR ) /src -name '* .rs')
2626
2727include $(ROOT ) /make/system-id.mk
2828include $(ROOT ) /make/targets_list.mk
@@ -678,7 +678,7 @@ $(OBJECT_DIR)/gtest_main.a : $(OBJECT_DIR)/gtest-all.o $(OBJECT_DIR)/gtest_main.
678678-include $(OBJECT_DIR ) /gtest-all.d \
679679 $(OBJECT_DIR)/gtest_main.d
680680
681- $(RUSTEMU_LIBRARY ) : $(RUSTEMU_SRC )
681+ $(RUSTEMU_LIBRARY ) : $(RUSTEMU_SOURCES )
682682 cd $(ROOT ) /src/rustemu && cargo build --release
683683
684684$(RUSTEMU_HEADER ) : $(RUSTEMU_LIBRARY )
You can’t perform that action at this time.
0 commit comments