Skip to content
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

[rust sdk]enable llvm jit by default #3152

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

lum1n0us
Copy link
Collaborator

@lum1n0us lum1n0us commented Feb 7, 2024

It bases on #2984

@lum1n0us lum1n0us changed the title [WIP] enable llvm jit by default enable llvm jit by default Feb 19, 2024
@lum1n0us lum1n0us changed the title enable llvm jit by default [rust sdk]enable llvm jit by default Feb 20, 2024
let runtime = Runtime::builder().use_system_allocator().build();
assert!(runtime.is_ok());
drop(runtime);

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after drop, the following malloc should be failed. I will fix in #3167

by default, WAMR is running under fast-interp+aot mode

if tends to enable llvmjit to gain performance advantage,

$ cargo build --features llvmjit
@wenyongh wenyongh merged commit 674ca19 into bytecodealliance:dev/rust_sdk Feb 22, 2024
1 check passed
@lum1n0us lum1n0us deleted the fr/enable_llvm_jit branch May 31, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants