diff --git a/README.md b/README.md index a5af8d8..d71d61b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/crc32.py b/examples/crc32.py index 294b3c5..a3d7e37 100644 --- a/examples/crc32.py +++ b/examples/crc32.py @@ -1,3 +1,5 @@ +# CRC-32/ISO-HDLC +# # #include // uint32_t, uint8_t # # uint32_t CRC32(const uint8_t data[], size_t data_length) { diff --git a/tests/integration/test_examples/test_buffer.py b/tests/integration/test_examples/test_buffer.py index 78622ea..95549ac 100644 --- a/tests/integration/test_examples/test_buffer.py +++ b/tests/integration/test_examples/test_buffer.py @@ -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