- Only in Windows and due to Leptos
- This is due to a dependency that can not compile to
wasm32-unknown-unknown
- Suspicions is that leptos build the frontend to wasm32 but also the backend dependencies
- the backend dependencies may not be compatible to wasm32 explaining where the error comes from
- A fix is to build the app backend separately and removing
trunk
influence- in
tauri.conf.json
remove the lines
"beforeDevCommand": "trunk serve", "beforeBuildCommand": "trunk build",
- build backend then you can relaunch
- in
- tauri-apps/tauri#10926
- Windows defender will prevent
cargo
from writing to the filesystem - add directory to the exclusions
- be careful when you remove a directory the exclusion is not working anymore even if you recreate the same directory
- for example for
target/debug
withcargo clean
- for example for
- Sometimes the server put some courts as
bookable: false
- not sure yet why we should check with official app
- the default with default
FormatSubscriber
for#[instrument]
is not to log any span but only event- can be solved with the
with_span_event
in the builder
- can be solved with the
- spans lifecycle: new, (enter, exit)*, close
- a span can be entered and exited multiple times when the execution thread change context (specific to async)
Embedded files do not work with Android: tauri-apps/tauri#10338