Skip to content

Commit

Permalink
Test using pattern established in run-make/wasm-stringify-ints-small.
Browse files Browse the repository at this point in the history
Replicates problem on my machine.

To exercise the test, I had to use a config.toml that has:

```
[build]
target = ["x86_64-unknown-linux-gnu","wasm32-unknown-unknown"]
nodejs = "node"

[rust]
lld = true
```
  • Loading branch information
pnkfelix committed Mar 14, 2023
1 parent e919f0f commit 568b722
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/run-make/wasm-override-linker/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include ../../run-make-fulldeps/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
1 change: 1 addition & 0 deletions tests/run-make/wasm-override-linker/foo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// empty file

0 comments on commit 568b722

Please sign in to comment.