undefine C symbols in JS backend [backport:1.6] (#19437)
fix #19330; fix #19059
This commit is contained in:
parent
33bfe5b12c
commit
7b09fd70ab
3 changed files with 11 additions and 3 deletions
6
tests/js/tcsymbol.nim
Normal file
6
tests/js/tcsymbol.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
discard """
|
||||
matrix: "--cc:gcc; --cc:tcc"
|
||||
"""
|
||||
|
||||
doAssert not defined(gcc)
|
||||
doAssert not defined(tcc)
|
||||
Loading…
Add table
Add a link
Reference in a new issue