bonsairobo commented on issue #3803:
URL: https://github.com/apache/opendal/issues/3803#issuecomment-3335427573
I don't think wasm support is functional for azblob yet. I'm currently
running into a panic when it's trying to access environment variables.
```
wasm.wasm:0x3e91cf Uncaught (in promise) RuntimeError: unreachable
at test_opendal_wasm-a2642cb963af873d.wasm.__rust_start_panic
(wasm.wasm:0x3e91cf)
at test_opendal_wasm-a2642cb963af873d.wasm.rust_panic
(wasm.wasm:0x3e8997)
at
test_opendal_wasm-a2642cb963af873d.wasm.std::panicking::rust_panic_with_hook::h4501cceb7dbe383d
(wasm.wasm:0x3340eb)
at
test_opendal_wasm-a2642cb963af873d.wasm.std::panicking::begin_panic_handler::{{closure}}::hc2b9d3fc26dda7f9
(wasm.wasm:0x3513ea)
at
test_opendal_wasm-a2642cb963af873d.wasm.std::sys::backtrace::__rust_end_short_backtrace::hf6a83a0a2155b9c0
(wasm.wasm:0x3e906e)
at test_opendal_wasm-a2642cb963af873d.wasm.rust_begin_unwind
(wasm.wasm:0x3e177c)
at
test_opendal_wasm-a2642cb963af873d.wasm.core::panicking::panic_fmt::h619600efce2da276
(wasm.wasm:0x3e17a8)
at
test_opendal_wasm-a2642cb963af873d.wasm.std::sys::pal::wasm::os::env::h385652c3be3fecba
(wasm.wasm:0x3dbf94)
at
test_opendal_wasm-a2642cb963af873d.wasm.std::env::vars_os::h3103e91b9f025301
(wasm.wasm:0x3e914c)
at
test_opendal_wasm-a2642cb963af873d.wasm.std::env::vars::h7479ac18bf3674fa
(wasm.wasm:0x3e9145)
$__rust_start_panic @ wasm.wasm:0x3e91cf
$rust_panic @ wasm.wasm:0x3e8997
$std::panicking::rust_panic_with_hook::h4501cceb7dbe383d @ wasm.wasm:0x3340eb
$std::panicking::begin_panic_handler::{{closure}}::hc2b9d3fc26dda7f9 @
wasm.wasm:0x3513ea
$std::sys::backtrace::__rust_end_short_backtrace::hf6a83a0a2155b9c0 @
wasm.wasm:0x3e906e
$rust_begin_unwind @ wasm.wasm:0x3e177c
$core::panicking::panic_fmt::h619600efce2da276 @ wasm.wasm:0x3e17a8
$std::sys::pal::wasm::os::env::h385652c3be3fecba @ wasm.wasm:0x3dbf94
$std::env::vars_os::h3103e91b9f025301 @ wasm.wasm:0x3e914c
$std::env::vars::h7479ac18bf3674fa @ wasm.wasm:0x3e9145
$reqsign::azure::storage::config::Config::from_env::hf541b7f6218ff624 @
wasm.wasm:0x1169f6
$<opendal::services::azblob::backend::AzblobBuilder as
opendal::types::builder::Builder>::build::h64cedc72802968d7 @ wasm.wasm:0x31010
$opendal::types::operator::builder::<impl
opendal::types::operator::operator::Operator>::new::hf6ef4f9ecca94397 @
wasm.wasm:0x20cbaf
$test_opendal_wasm::azblob::h4f3f27ab545fc5db @ wasm.wasm:0x176dbc
$test_opendal_wasm::main::h3a996468a8aad0bc @ wasm.wasm:0x250bb5
$core::ops::function::FnOnce::call_once::ha6b4c0cd748bbeb5 @
wasm.wasm:0x3d3d58
$std::sys::backtrace::__rust_begin_short_backtrace::h0a43daaaffc95949 @
wasm.wasm:0x3d3d24
$std::rt::lang_start::{{closure}}::h60884d4203e18724 @ wasm.wasm:0x3a1408
$std::rt::lang_start_internal::hee756b5040311ab4 @ wasm.wasm:0x34fc8f
$std::rt::lang_start::h4d81509d5cf32c79 @ wasm.wasm:0x37a643
$main @ wasm.wasm:0x3e6b66
$func12840 @ wasm.wasm:0x3e8a21
$__wbindgen_start @ wasm.wasm:0x3e9155
__wbg_finalize_init @ wasm.js:777
__wbg_init @ wasm.js:829
await in __wbg_init
run @ (index):37
(anonymous) @ (index):170
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]