Rust on M1
🌱
5 January 2022
Installing fnm on my new work M1 failed due to not being able to link liblzma.dylib
.
The error says that
The clue is in x86_64
: Homebrew installed properly for M1 (aka aarch64
) which you can tell from the path /opt/homebrew/
(its slightly differnet on Intel).
Running rustup toolchain list
both on the work and personal M1 laptops, revealed the differnece:
work laptop:
vs personal:
My temporary "fix" is to add the aarch64
target to rustup and specifically install fnm
with it:
)