cross_storage/target/providers/
storage_set_util.rs

1pub fn storage_set(key: &str, val: &str) -> Result<(), String> {
2    #[cfg(any(
3        target_os = "macos",
4        target_os = "linux",
5        target_os = "windows",
6        target_os = "android"
7    ))]
8    return super::super::super::storage_set_native(key, val);
9
10    #[cfg(target_family = "wasm")]
11    return super::super::super::storage_set_web(key, val);
12}