datadump
V2EX  ›  Rust

请教 rust 交叉编译(macos x86 编译 m1 等)

  •  
  •   datadump ·
    PRO
    · Nov 14, 2022 · 2285 views
    This topic created in 1340 days ago, the information mentioned may be changed or developed.
    macos & x86_64 的 toolchain ,加个 target 能不能编 m1 呢(稳定性够不够生产环境用的)(暂不考虑 github ci )

    谢谢
    dndx
        1
    dndx  
       Nov 15, 2022   ❤️ 1
    https://github.com/cross-rs/cross ,一行搞定。
    datadump
        2
    datadump  
    OP
    PRO
       Nov 15, 2022
    @dndx 不错的项目。谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1201 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:48 · PVG 01:48 · LAX 10:48 · JFK 13:48
    ♥ Do have faith in what you're doing.