mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 09:19:25 +00:00
Set compiler config to be owned (following wasm-c-api)
This commit is contained in:
@ -27,10 +27,8 @@ pub struct LLVMCompiler {
|
||||
|
||||
impl LLVMCompiler {
|
||||
/// Creates a new LLVM compiler
|
||||
pub fn new(config: &LLVM) -> LLVMCompiler {
|
||||
LLVMCompiler {
|
||||
config: config.clone(),
|
||||
}
|
||||
pub fn new(config: LLVM) -> LLVMCompiler {
|
||||
LLVMCompiler { config }
|
||||
}
|
||||
|
||||
/// Gets the config for this Compiler
|
||||
|
Reference in New Issue
Block a user