Skip to content

andriyDev/wasm-path-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

cargo install wasm-pack

Instructions

wasm-pack build --target web
http-server -o

Results

On Windows: cargo test passes.

`file!()` -> `path="src\\lib.rs" components=[Normal("src"), Normal("lib.rs")]`

On WASM that was built on Windows: cargo test would fail.

`file!()` -> `path="src\\lib.rs" components=[Normal("src\\lib.rs")]`

About

A minimal reproduction of a WASM path error for the file! macro.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published