You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.
not clear how this error can be fixed without altering the source.
Compiling mozjs v0.8.0
error[E0277]: the trait bound `u8: std::convert::From<rust::MutableHandle<'_, u8>>` is not satisfied
-->.../mozjs-0.8.0/src/rust.rs:1205:52
|
1205 | wrap!(@inner $saved <> ($($acc,)* $arg.into(),) <> $($rest)*);
| ^^^^ the trait `std::convert::From<rust::MutableHandle<'_, u8>>` is not implemented for `u8`
|
::: .../mozjs-0.8.0/src/jsapi_wrappers.in:44:1
|
44 | wrap!(jsapi: pub fn FinishMultiOffThreadScriptsDecoder(cx: *mut JSContext, token: *mut ::std::os::raw::c_void, scripts: MutableHandle<ScriptVector>) -> bool);
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
|
= help: the following implementations were found:
<u8 as std::convert::From<bool>>
= note: required because of the requirements on the impl of `std::convert::Into<u8>` for `rust::MutableHandle<'_, u8>`
error[E0277]: the trait bound `u8: std::convert::From<rust::MutableHandle<'_, u8>>` is not satisfied
--> .../mozjs-0.8.0/src/rust.rs:1348:113
|
1348 | wrap!(@inner $saved <> ($($declargs)* $arg: &mut MutableHandle<$gentype> , ) <> ($($acc,)* (*$arg).into(),) <> $($rest)*);
| ^^^^ the trait `std::convert::From<rust::MutableHandle<'_, u8>>` is not implemented for `u8`
|
.../mozjs-0.8.0/src/jsapi_wrappers.in:44:1
The text was updated successfully, but these errors were encountered:
not clear how this error can be fixed without altering the source.
The text was updated successfully, but these errors were encountered: