Minor fixes
- Fix python version in docs - Made a note on which CRC32 we're using in the example - Removed a redundant parameter
This commit is contained in:
parent
96f52a274c
commit
3e916a242e
@ -32,7 +32,7 @@ make lint typecheck
|
||||
|
||||
To compile a Phasm file:
|
||||
```sh
|
||||
python3.10 -m phasm source.py output.wat
|
||||
python3.12 -m phasm source.py output.wat
|
||||
```
|
||||
|
||||
Additional required tools
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
# CRC-32/ISO-HDLC
|
||||
#
|
||||
# #include <inttypes.h> // uint32_t, uint8_t
|
||||
#
|
||||
# uint32_t CRC32(const uint8_t data[], size_t data_length) {
|
||||
|
||||
@ -8,7 +8,7 @@ def test_index():
|
||||
with open('examples/buffer.py', 'r', encoding='ASCII') as fil:
|
||||
code_py = "\n" + fil.read()
|
||||
|
||||
result = Suite(code_py).run_code(b'Hello, world!', 5, func_name='index', runtime='wasmtime')
|
||||
result = Suite(code_py).run_code(b'Hello, world!', 5, func_name='index')
|
||||
assert 44 == result.returned_value
|
||||
|
||||
@pytest.mark.slow_integration_test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user