]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
trans_fn: Use replace() instead of new() + swap()
[rust.git] / Cargo.toml
index f16d45cd46a2574e70f81f755fe2050544014d6f..e178e29925b03cfe4ab51eb11085feae60700fa0 100644 (file)
@@ -16,7 +16,7 @@ cranelift-simplejit = { git = "https://github.com/bytecodealliance/wasmtime/", b
 cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main" }
 target-lexicon = "0.10.0"
 gimli = { version = "0.21.0", default-features = false, features = ["write"]}
-object = { version = "0.20.0", default-features = false, features = ["read", "std", "write"] }
+object = { version = "0.21.1", default-features = false, features = ["read", "std", "write"] }
 
 ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }
 byteorder = "1.2.7"
@@ -36,8 +36,9 @@ libloading = { version = "0.6.0", optional = true }
 #gimli = { path = "../" }
 
 [features]
-default = ["jit"]
+default = ["jit", "inline_asm"]
 jit = ["cranelift-simplejit", "libloading"]
+inline_asm = []
 
 [profile.dev]
 # By compiling dependencies with optimizations, performing tests gets much faster.