- 
                Notifications
    You must be signed in to change notification settings 
- Fork 48
          Remove build-std cargo option and switch to core::intrinsics::abort() in panic_handler
          #135
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
components and Miden SDK tests. The panic handler and global allocator is now set in the `lib.rs` file of each component crate. Before, the `cargo-component-bindings` was not built correctly for `no_std` and was linking the stdlib allocator. The Rust bindings for the WIT are now generated in the `src` directory of the component crate, instead of the `target/.../bindings` directory. The Wasm `bulk-memory` proposal is enabled via `RUSTFLAGS` so that `memcpy` function import is replaced with Wasm `memory.copy` op.
Add Wasm component translation support to `CompileTest`. Draft a text representation of the IR `Component` and use it in the expected tests.
Swap function calls to imported functions with the external function passed as module arguments.
according to the instantiation order
in the final stage of the translation to make the overall algorithm and steps more clear and concise. Raise errors when an particular item translation is not(yet) implemented.
temporary use u64 for Felt in WIT.
since at component boundaries every function is invoked via `call`.
in panic_handler.
build-std cargo option and switch to core::intrinsics::abort() in panic_handlerbuild-std cargo option and switch to core::intrinsics::abort() in panic_handler
      | @bitwalker I switched to using  | 
build-std cargo option and switch to core::intrinsics::abort() in panic_handlerbuild-std cargo option and switch to core::intrinsics::abort() in panic_handler
      a77c8c8    to
    eab6463      
    Compare
  
    eab6463    to
    4dfcbfe      
    Compare
  
    
This PR is stacked on top of #134 and should be merged after it
Close #124