Get cargo check --all working
This commit is contained in:
34 files changed
+80
-122
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user