File: add-jscast-use.patch

package info (click to toggle)
rust-wasm-bindgen-test 0.3.54-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192 kB
  • sloc: makefile: 4
file content (12 lines) | stat: -rw-r--r-- 262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/rt/detect.rs b/src/rt/detect.rs
index b2b6af2..89ef0bd 100644
--- a/src/rt/detect.rs
+++ b/src/rt/detect.rs
@@ -2,6 +2,7 @@
 
 use alloc::string::String;
 use wasm_bindgen::prelude::*;
+use wasm_bindgen::JsCast;
 
 #[wasm_bindgen]
 extern "C" {