Skip to content

Add regression test for a spurious import#88482

Merged
bors merged 1 commit intorust-lang:masterfrom
athei:add-import-test
Sep 4, 2021
Merged

Add regression test for a spurious import#88482
bors merged 1 commit intorust-lang:masterfrom
athei:add-import-test

Conversation

@athei
Copy link
Copy Markdown
Contributor

@athei athei commented Aug 30, 2021

This PR adds a test that verifies that the bug described in the linked issue does not creep back into the code. In essence it checks that compiling some specific code (that uses 128 bit multiplication) with a specific set of compiler options does not lead to a spurious import of a panic function.

I noticed that other wasm tests use # only-wasm32-bare in their Makefile. This will skip the test for me. I did not find out how to run this test locally. Maybe someone can help.

closes #78744
r? @jyn514

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non existing function imported when compiling for wasm

7 participants