Closed kinocz closed 5 months ago
Are you using mac's default terminal? It works completely fine for me on the default terminal on macos 14.4.1 but with M2 pro 🤔
OK, the problem is ohmyzsh (probably some plugin, zsh
is fine). Thx, for pointing me in the right direction. Now, one wonders WTF... If I find it I will post it here.
I was able to track it down...
I had
export DYLD_LIBRARY_PATH=/opt/homebrew/lib
in my .zshrc
, because of the different tools I'm using. When I removed this, all started to work.
I'm a newbie to Rust, so I probably did something stupid and should have done differently.
I have cloned the project and wanted to run:
If I run this through IDE (RustRover), I'm able to run it properly, and the tray icon shows as expected.
When I do the same from the terminal, I receive
bus error
. I was able to track down that the problem is https://github.com/tauri-apps/tray-icon/blob/67b873b1e03be371a629fed870e0ab54e0cb2f56/examples/tao.rs#L48 . It does not matter what example I try to run. Thebus error
is always received when the try icon itself tries to build.Cargo/rust is installed with
rustup
edit: I'm using MacOS 14.4.1 with M1 cpu
aarch64-apple-darwin
toolchaindefault