-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
error[E0308]: mismatched types
--> /Users/jeanboussier/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/magnus-0.7.1/src/fiber.rs:469:21
|
466 | Value::new(rb_fiber_raise(
| -------------- arguments to this function are incorrect
...
469 | &e.as_rb_value() as *const VALUE,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
|
= note: expected raw pointer `*mut u64`
found raw pointer `*const u64`
note: function defined here
--> /Users/jeanboussier/.rbenv/versions/4.0.0-preview3/lib/ruby/gems/4.0.0+1/gems/eppo-server-sdk-3.7.4/ext/eppo_client/target/release/build/rb-sys-7fba6798598db971/out/bindings-0.9.111-mri-arm64-darwin25-4.0.0.rs:5381:16
|
5381 | pub fn rb_fiber_raise(fiber: VALUE, argc: ::std::os::raw::c_int, argv: *mut VALUE)
| ^^^^^^^^^^^^^^
error[E0609]: no field `typed_flag` on type `&rb_sys::RTypedData`
--> /Users/jeanboussier/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/magnus-0.7.1/src/r_typed_data.rs:202:58
|
202 | let typed_flag = typed_data.as_ref().typed_flag;
| ^^^^^^^^^^ unknown field
|
= note: available fields are: `basic`, `fields_obj`, `type_`, `data`
Upgrading to the latest magnus and rb_sys is supposed to solve that (but I tried and don't know enough Rust to do it myself).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels