blob: 52339f9261c43c60c7c3b848e37c77cf7bf19690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# needs-matching-clang
include ../tools.mk
ifeq ($(TARGET),wasm32-unknown-unknown)
all:
$(RUSTC) foo.rs --crate-type cdylib --target $(TARGET) -C linker=$(CLANG)
else ifeq ($(TARGET),wasm64-unknown-unknown)
all:
$(RUSTC) foo.rs --crate-type cdylib --target $(TARGET) -C linker=$(CLANG)
else
all:
endif
|