mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 22:32:19 +03:00
3063218d46
This is (for once) not a breaking changes, instead backends will need to opt in to this change, using the utilities in Compiler.NoMangle. See the js backend for an example of how to do this. This is the first step to being able to use idris to create libraries usable by other languages.
8 lines
303 B
Plaintext
8 lines
303 B
Plaintext
rm -rf build
|
|
|
|
$1 nomangle.idr --no-color --no-banner --console-width 0 -o test1 --cg node
|
|
$1 nomangle.idr --no-color --no-banner --console-width 0 -o test2 --cg node --directive minimal
|
|
|
|
cat build/exec/test1 | grep -e foo -e baz -e another_name
|
|
cat build/exec/test2 | grep -e foo -e baz -e another_name
|