-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Describe the bug
After updating to the latest release, it became impossible to compile due to the following errors:
error[E0433]: failed to resolve: use of undeclared crate or module `raw_window_handle`
--> /Users/elvinas/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.0.0-beta.6/src/api/dialog.rs:46:13
|
46 | unsafe impl raw_window_handle::HasRawWindowHandle for WindowParent {
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `raw_window_handle`
error[E0433]: failed to resolve: use of undeclared crate or module `raw_window_handle`
--> /Users/elvinas/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.0.0-beta.6/src/api/dialog.rs:55:34
|
55 | fn raw_window_handle(&self) -> raw_window_handle::RawWindowHandle {
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `raw_window_handle`
error[E0433]: failed to resolve: use of undeclared crate or module `raw_window_handle`
--> /Users/elvinas/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.0.0-beta.6/src/api/dialog.rs:56:22
|
56 | let mut handle = raw_window_handle::macos::MacOSHandle::empty();
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `raw_window_handle`
error[E0433]: failed to resolve: use of undeclared crate or module `raw_window_handle`
--> /Users/elvinas/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.0.0-beta.6/src/api/dialog.rs:58:5
|
58 | raw_window_handle::RawWindowHandle::MacOS(handle)
| ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `raw_window_handle`
error: aborting due to 4 previous errors
To Reproduce
Update to the latest release on macOS.
Platform and Versions (required):
Operating System - Mac OS, version 11.2.3 X64
Node.js environment
Node.js - 16.6.2
@tauri-apps/cli - 1.0.0-beta.7
@tauri-apps/api - 1.0.0-beta.6
Global packages
npm - 7.20.3
yarn - 1.22.11
Rust environment
rustc - 1.54.0
cargo - 1.54.0
App directory structure
/node_modules
/public
/src-tauri
/lib
/.git
/src
App
tauri.rs - 1.0.0-beta.6
build-type - bundle
CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - Set automatically by Vue CLI plugin
devPath - Set automatically by Vue CLI plugin
framework - Vue.js (Vue CLI)
bundler - Webpack
Additional context
In the package.json, tauri cli seems to be "@tauri-apps/cli": "1.0.0-beta.8", as opposed to the version displayed in tauri info.
Stack Trace
Reactions are currently unavailable