Commit 867ff14
committed
fix: gate tauri-winrt-notification behind cfg(windows)
The crate was listed in general [dependencies] instead of
[target.'cfg(windows)'.dependencies], causing macOS and Linux CI
builds to compile its windows-future dependency chain and fail with
"cannot find type IMarshal in module windows_core::imp". The Windows
build passed because the types exist there.
The source code was already correctly gated — notifications.rs uses
#[cfg(target_os = "windows")] around the Toast import — so only the
Cargo.toml manifest needed the fix.1 parent d97ca2d commit 867ff14
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments