diff --git a/Cargo.toml b/Cargo.toml index 28b48a64..ed57f8c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,7 +81,6 @@ level = "warn" check-cfg = [ 'cfg(getrandom_backend, values("custom", "rdrand", "rndr", "linux_getrandom", "linux_rustix", "wasm_js", "esp_idf"))', 'cfg(getrandom_sanitize)', - 'cfg(getrandom_browser_test)', 'cfg(getrandom_test_linux_fallback)', 'cfg(getrandom_test_netbsd_fallback)', ] diff --git a/src/backends/wasm_js.rs b/src/backends/wasm_js.rs index 15a4e66b..38d7250e 100644 --- a/src/backends/wasm_js.rs +++ b/src/backends/wasm_js.rs @@ -124,8 +124,6 @@ extern "C" { // Getters for the WebCrypto API #[wasm_bindgen(method, getter)] fn crypto(this: &Global) -> WebCrypto; - #[wasm_bindgen(method, getter, js_name = msCrypto)] - fn ms_crypto(this: &Global) -> WebCrypto; // Crypto.getRandomValues() #[wasm_bindgen(method, js_name = getRandomValues, catch)] fn get_random_values(this: &WebCrypto, buf: &Uint8Array) -> Result<(), JsValue>;