Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteNacked committed Nov 4, 2024
1 parent 0c7f825 commit bc89443
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime-interface/sandbox/src/detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ thread_local! {
}
}

// Sets the global sandbox backend type.
// Buy default, it's set to `Wasmer`, so in case of `Wasmer` it's not necessary to call this function.
pub fn init(sandbox_backend: sandbox_env::SandboxBackend) {
SANDBOX_BACKEND_TYPE.store(sandbox_backend, Ordering::SeqCst);
}
Expand Down

0 comments on commit bc89443

Please sign in to comment.