We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11106f0 commit 365e1a9Copy full SHA for 365e1a9
compiler-rs/compiler-wasm-lib/src/lib.rs
@@ -19,6 +19,10 @@ use anyhow::bail;
19
use wasm_bindgen::prelude::*;
20
use clients_schema::{Availabilities, Visibility};
21
22
+
23
+#[cfg(not(target_arch="wasm32"))]
24
+compile_error!("To build this crate use `make compiler-wasm-lib`");
25
26
#[wasm_bindgen]
27
pub fn convert_schema_to_openapi(json: &str, flavor: &str) -> Result<String, String> {
28
set_panic_hook();
0 commit comments