Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Oct 14, 2024
1 parent e07ccf4 commit 6377f67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyodide_build/tests/test_pywasmcross.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,11 @@ def test_is_link_cmd():
assert is_link_cmd(["test.so"])
assert is_link_cmd(["test.so.1.2.3"])
assert not is_link_cmd(["test", "test.a", "test.o", "test.c", "test.cpp", "test.h"])


def test_handle_command_cargo(build_args):
assert handle_command_generate_args(["cargo", "build"], build_args) == [
"cargo",
"-Zbuild-std",
"build",
]

0 comments on commit 6377f67

Please sign in to comment.