V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
qianxiaoxiao

开发 golang 的各位 mbp 13 2020 m1 用的害顺手吗?

  •  
  •   qianxiaoxiao · Dec 17, 2020 · 4299 views
    This topic created in 1963 days ago, the information mentioned may be changed or developed.

    go build test run 还有 debug 都没问题吧 之前说过的不能调试的 BUG 还有吗 我看到 go 把一部分 issues 关了 有想法入一个 M1 另出售一个 18 款 MBP https://www.v2ex.com/t/728970

    10 replies    2020-12-19 17:57:20 +08:00
    zhshch
        1
    zhshch  
       Dec 17, 2020
    Goland 早上闪退了一次。目前没深入研究过,基本的 build test run 没问题。
    qianxiaoxiao
        2
    qianxiaoxiao  
    OP
       Dec 17, 2020
    @zhshch goland 的 debug 好使吗 我听说不能调试
    zhshch
        3
    zhshch  
       Dec 17, 2020
    `_cgo_export.c:3:10: fatal error: 'stdlib.h' file not found`

    好像不行
    ciki
        4
    ciki  
       Dec 17, 2020
    还没出适配版,等着吧
    chengxiao
        5
    chengxiao  
       Dec 17, 2020
    其实正常不涉及 CGO 的问题都不大,调试的话 print 大法好啊
    go1.16 才能适配 GOOS=darwin GOARCH=arm64,预计明年 2 月
    coolcoffee
        6
    coolcoffee  
       Dec 17, 2020   ❤️ 1
    Goland 的调试还是不行。

    go1.16 arm 可以自己去拿代码编译。我拿着编译出来 go arm,接着去编译了 wireguard-go 和 cloudflared 。
    qianxiaoxiao
        7
    qianxiaoxiao  
    OP
       Dec 18, 2020
    看来 Google 还是不着急啊 只能等 2 月的 go1.16 了 隔壁 PD 的预览版都发行了
    crs0910
        8
    crs0910  
       Dec 18, 2020
    @qianxiaoxiao #7 已经支持了呀
    qianxiaoxiao
        9
    qianxiaoxiao  
    OP
       Dec 18, 2020
    谢谢楼上 今天刚看到 blog 了 1.16beta 版 https://golang.org/dl/#go1.16beta1
    ThinkPadX2Silver
        10
    ThinkPadX2Silver  
       Dec 19, 2020 via Android
    @chengxiao 最新 master 已经可以编译出来了 版本 1.15.6
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   958 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 18:11 · PVG 02:11 · LAX 11:11 · JFK 14:11
    ♥ Do have faith in what you're doing.