这是indexloc提供的服务,不要输入任何密码
Skip to content

error on windows. #2

@LollipopFt

Description

@LollipopFt

hi, i received this error, not sure what it means. the .wasm file was able to generate properly.

C:\Users\lollipopft\rust\projects\roguelike>cargo run --release --target=wasm32-unknown-unknown
    Finished release [optimized] target(s) in 0.86s
     Running `wasm-server-runner target\wasm32-unknown-unknown\release\roguelike.wasm`
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', C:\Users\lollipopft\rust\.cargo\registry\src\github.com-1ecc6299db9ec823\wasm-bindgen-cli-support-0.2.79\src\descriptor.rs:208:15
stack backtrace:
   0:     0x7ff722d26d3f - <unknown>
   1:     0x7ff722d417ca - <unknown>
   2:     0x7ff722d20a08 - <unknown>
   3:     0x7ff722d2989b - <unknown>
   4:     0x7ff722d29394 - <unknown>
   5:     0x7ff722d29d9c - <unknown>
   6:     0x7ff722d29c5b - <unknown>
   7:     0x7ff722d27687 - <unknown>
   8:     0x7ff722d29959 - <unknown>
   9:     0x7ff722d6f910 - <unknown>
  10:     0x7ff722d6f8d7 - <unknown>
  11:     0x7ff722aa2410 - <unknown>
  12:     0x7ff722aa2813 - <unknown>
  13:     0x7ff722aa1fca - <unknown>
  14:     0x7ff722aa8fa7 - <unknown>
  15:     0x7ff722a7eaac - <unknown>
  16:     0x7ff722a743a8 - <unknown>
  17:     0x7ff722a6d01c - <unknown>
  18:     0x7ff722a17d16 - <unknown>
  19:     0x7ff722a2c86a - <unknown>
  20:     0x7ff722d2659f - <unknown>
  21:     0x7ff722a716f7 - <unknown>
  22:     0x7ff722d4810c - <unknown>
  23:     0x7ff9d1977034 - BaseThreadInitThunk
  24:     0x7ff9d2c82651 - RtlUserThreadStart
error: process didn't exit successfully: `wasm-server-runner target\wasm32-unknown-unknown\release\roguelike.wasm` (exit code: 101)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions