Skip to content

Panic immediately upon using tr! or move_tr! #254

Answered by mondeja
ilyvion asked this question in Q&A
Discussion options

You must be logged in to vote

I can't reproduce them. BTW, I can't even compile your MRE as is, needed to remove this line from Cargo.toml:

name = "inventory"

And used the new lib in main.rs:

    use inventory_spa::app::*;
    use inventory_spa::fileserv::file_and_error_handler;

Otherwise, I experiment the next error compiling the front:

Error: at `/home/runner/work/cargo-leptos/cargo-leptos/src/compile/front.rs:50:30`

Caused by:
    0: at `/home/runner/work/cargo-leptos/cargo-leptos/src/compile/front.rs:125:10`
    1: failed reading 'target/front/wasm32-unknown-unknown/debug/inventory_spa.wasm'
    2: No such file or directory (os error 2)

And I added the proper target to rust-toolchain.toml:

[toolchain]
channel = "n…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ilyvion
Comment options

@ilyvion
Comment options

@mondeja
Comment options

Answer selected by mondeja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants