Option unwrap called on None value when building to wasm32-unknown-unknown #94602
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This error started occurring after I moved the canvas module that contains the

Canvas
struct from the crate root into a submodule directory. (updates to mod.rs declared the new submodule, lib.rs to update the module path)ie:
Old:
New:

It only occurs on the
wasm32-unknown-unknown
build target, runningcargo build
for other build targets compiles correctlyCode
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: