Closed
Description
I'm trying to compile a project that depends on byte-slice-cast
to a wasm32-unknown-emscripten
target. However, when building in debug mode, I get the following weird error:
Compiling byte-slice-cast v0.3.5
Referencing function in another module!
call void <badref>(i8* %22), !dbg !149
; ModuleID = 'byte_slice_cast.v1okijvo-cgu.15'
void (i8*)* <badref>
; ModuleID = '
error: could not compile `byte-slice-cast`.
Building in release mode works just fine. Compiling any project that depends on byte-slice-cast
(even a simple hello world project that does nothing but has a dependency on it) to that specific target results in this error. Any ideas on why this is happening?
Metadata
Metadata
Assignees
Labels
No labels