mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-15 08:56:04 +00:00
Resolve what to do with no_std.
This commit is contained in:
parent
b60d82a531
commit
fab9d1dff6
@ -536,9 +536,7 @@ impl fmt::Debug for JsValue {
|
|||||||
#[cfg(not(feature = "std"))]
|
#[cfg(not(feature = "std"))]
|
||||||
impl fmt::Debug for JsValue {
|
impl fmt::Debug for JsValue {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
// TODO before merge - this is less info than before - is this OK? Can we do the above
|
f.write_str("JsValue")
|
||||||
// without using allocation (no_std)?
|
|
||||||
f.write_str("JsValue(..)")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user