Get cargo check --all working

This commit is contained in:
Jonathan Kelley committed 2024-01-18 19:27:55 -08:00
1 parent d8af9b7ed1
commit 6ed3aafb2f
34 files changed
+80 -122

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ mod write_native_mutations;
pub use write_native_mutations::*;
// Common bindings for minimal usage.
#[cfg(all(feature = "minimal_bindings", feature = "web"))]
#[cfg(all(feature = "minimal_bindings", feature = "webonly"))]
pub mod minimal_bindings {
use wasm_bindgen::{prelude::wasm_bindgen, JsValue};
#[wasm_bindgen(module = "/src/common.js")]
@@ -1,14 +1,14 @@
#[cfg(feature = "web")]
#[cfg(feature = "webonly")]
use js_sys::Function;
#[cfg(feature = "web")]
#[cfg(feature = "webonly")]
use sledgehammer_bindgen::bindgen;
#[cfg(feature = "web")]
#[cfg(feature = "webonly")]
use web_sys::Node;
#[cfg(feature = "web")]
#[cfg(feature = "webonly")]
pub const SLEDGEHAMMER_JS: &str = GENERATED_JS;
#[cfg(feature = "web")]
#[cfg(feature = "webonly")]
#[bindgen(module)]
mod js {
const JS_FILE: &str = "./src/common.js";