rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust

Home Page:https://rust-lang.github.io/mdBook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for darwin arm64

camilamacedo86 opened this issue · comments

It seems that it still without support for mac os x, arm64

Can you say more about what kind of issues you are running into? mdbook should be able to be built for aarch64-apple-darwin. If you are referring to the prebuilt binaries on the releases page, x86_64-apple-darwin should be able to run under emulation. Perhaps you can say more about your use case and scenario?

HI @ehuss,

If you are referring to the prebuilt binaries on the releases page, x86_64-apple-darwin should be able to run under emulation

If we download the x86_64-apple-darwin in an Apple M1 (darwin/arm64) then. that should work. Is that? If so, you can close this one. If not, then, could we have a bin for that?

Yea, x86_64-apple-darwin should work. macOS has a thing called Rosetta 2 that will allow running x86_64 programs.

I'm going to close as I would prefer to keep the number of binary distributions to a minimum, and aarch64-apple-darwin is currently a tier 2 platform which carries some risk. Once aarch64-apple-darwin is available as tier 1, I think it would be worth considering adding it at that time.

In the meantime, if there are problems with running the x86_64 binaries, one can also build from source (instructions).