github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/experimental/features.go (about)

     1  package experimental
     2  
     3  import "github.com/wasilibs/wazerox/api"
     4  
     5  // CoreFeaturesThreads enables threads instructions ("threads").
     6  //
     7  // # Notes
     8  //
     9  //   - This is not yet implemented by default, so you will need to use
    10  //     wazero.NewRuntimeConfigInterpreter
    11  //   - The instruction list is too long to enumerate in godoc.
    12  //     See https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md
    13  //   - Atomic operations are guest-only until api.Memory or otherwise expose them to host functions.
    14  const CoreFeaturesThreads = api.CoreFeatureSIMD << 1 // TODO: Implement the compiler engine