1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-11 08:25:46 +03:00
juvix/c-runtime
Paul Cadman 7bf337217d
Allow _ in Wasm exported names to support Anoma signature (#1449)
Allow _ in Wasm exported names

The Anoma validity predicate Wasm signature is:

"_validate_tx": [I64, I64, I64, I64, I64, I64, I64, I64] -> [I64]

So we need to allow exported names containing '_'.

This PR adds a Juvix module that exports a function with this signature
and a test that the resulting Wasm function can be called.
2022-08-12 09:06:14 +01:00
..
anoma Refactor (#1420) 2022-08-03 13:20:40 +02:00
builtins Refactor (#1420) 2022-08-03 13:20:40 +02:00
standalone Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00
walloc Refactor (#1420) 2022-08-03 13:20:40 +02:00
wasi-libc Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00
wasi-standalone Allow _ in Wasm exported names to support Anoma signature (#1449) 2022-08-12 09:06:14 +01:00