You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using cluFlock on a wasm32-unknown-unknown build target I receive the errors
error[E0277]: the trait bound `File: FlockElement` is not satisfied.
error[E0277]: the trait bound `File: WaitFlockUnlock` is not satisfied.
Context
I am using the settings_manager crate in a Tauri application. settings_manager depends on cluFlock. When building the application, which depends on settings_manager, to a wasm32-unknown-unknown target I receive the errors. However, when building to other targets (specifically x86_64-unknown-linux-gnu) everything builds fine.
I wasn't sure what the most useful info to provide here was, so tried to give an overview. If there is anything else that would be useful, please let me know.
The text was updated successfully, but these errors were encountered:
bicarlsen
changed the title
FlockElement not implemented for File on wasm32-unknown-unknown architectureFlockElement and WaitFlockUnlock not implemented for File on wasm32-unknown-unknown architecture
Oct 15, 2022
bicarlsen
changed the title
FlockElement and WaitFlockUnlock not implemented for File on wasm32-unknown-unknown architectureFlockElement and WaitFlockUnlock not implemented for File for wasm32-unknown-unknown build target
Oct 15, 2022
Thanks for reaching out, please post a minimal example with the settings_manager library for the Tauri platform in order to reproduce the bug and fix it.
At the moment, I have no idea about the implementation of flock for the wasm32-unknown-unknown platform, since under linux these are specific calls from libc, under windows from winapi, and under wasm I have no idea.
When using
cluFlock
on awasm32-unknown-unknown
build target I receive the errorsContext
I am using the
settings_manager
crate in a Tauri application.settings_manager
depends oncluFlock
. When building the application, which depends onsettings_manager
, to awasm32-unknown-unknown
target I receive the errors. However, when building to other targets (specificallyx86_64-unknown-linux-gnu
) everything builds fine.Dependency graph
cluFlock
<-settings_manager
<- Tauri applicationI wasn't sure what the most useful info to provide here was, so tried to give an overview. If there is anything else that would be useful, please let me know.
The text was updated successfully, but these errors were encountered: