Golang和Rust常见编译命令速记 作者: 怕刺 时间: 2025-11-28 分类: 技术 评论 Golang编译命令CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath -o myappCGO_ENABLED=0:纯静态二进制,避免动态库依赖-s:strip symbol table 去除符号表-w:strip DWA ...