Stream: git-wasmtime

Topic: wasmtime / PR #2378 Fix usage of default_libcall_names


view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2020 at 18:28):

bjorn3 opened PR #2378 from patch-2 to main:

error[E0308]: mismatched types
   --> src/backend.rs:198:9
    |
198 |         cranelift_module::default_libcall_names(),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync`, found trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String`
    |
    = note: expected struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync + 'static)>`
               found struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + 'static)>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rustc_codegen_cranelift`

Broken by #2371

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2020 at 15:15):

alexcrichton submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2020 at 15:24):

bjorn3 updated PR #2378 from patch-2 to main:

error[E0308]: mismatched types
   --> src/backend.rs:198:9
    |
198 |         cranelift_module::default_libcall_names(),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync`, found trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String`
    |
    = note: expected struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync + 'static)>`
               found struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + 'static)>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rustc_codegen_cranelift`

Broken by #2371

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2020 at 15:27):

bjorn3 updated PR #2378 from patch-2 to main:

error[E0308]: mismatched types
   --> src/backend.rs:198:9
    |
198 |         cranelift_module::default_libcall_names(),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync`, found trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String`
    |
    = note: expected struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync + 'static)>`
               found struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + 'static)>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rustc_codegen_cranelift`

Broken by #2371

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2020 at 15:38):

bjorn3 updated PR #2378 from patch-2 to main:

error[E0308]: mismatched types
   --> src/backend.rs:198:9
    |
198 |         cranelift_module::default_libcall_names(),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync`, found trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String`
    |
    = note: expected struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync + 'static)>`
               found struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + 'static)>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rustc_codegen_cranelift`

Broken by #2371

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2020 at 15:56):

bjorn3 updated PR #2378 from patch-2 to main:

error[E0308]: mismatched types
   --> src/backend.rs:198:9
    |
198 |         cranelift_module::default_libcall_names(),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync`, found trait `std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String`
    |
    = note: expected struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + std::marker::Send + std::marker::Sync + 'static)>`
               found struct `std::boxed::Box<(dyn std::ops::Fn(cranelift_codegen::ir::LibCall) -> std::string::String + 'static)>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rustc_codegen_cranelift`

Broken by #2371

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2020 at 16:33):

alexcrichton merged PR #2378.


Last updated: Dec 23 2024 at 12:05 UTC