My main question/worry: can you also make it independent of glibc using musl or are there other tricks? The goal is a static binary which doesn't rely on specific parts of the users workstation. I have no experience in this with darwin.
It looks hellish!
> https://blog.crafteo.io/2024/02/29/my-rust-cross-compilation-journey/
If you see this and have a mac, then please send help 🙃
It's possible to add it into your [`scripts/generate.sh`](https://git.coopcloud.tech/decentral1se/iroh-go/src/branch/main/scripts/generate.sh) script following the `loro-go` setup: https://github.com/aholstenson/loro-go/blob/b51c3b2d80d1f5024cb51937ae845b058c233981/scripts/generate.sh#L10 However, `loro-go` makes use of Github Actions to get the right environment for building: https://github.com/aholstenson/loro-go/blob/b51c3b2d80d1f5024cb51937ae845b058c233981/.github/workflows/build-libs.yml#L19
My main question/worry: can you also make it independent of `glibc` using `musl` or are there other tricks? The goal is a static binary which doesn't rely on specific parts of the users workstation. I have no experience in this with darwin.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
It looks hellish!
If you see this and have a mac, then please send help 🙃
It's possible to add it into your
scripts/generate.shscript following theloro-gosetup: https://github.com/aholstenson/loro-go/blob/b51c3b2d80d1f5024cb51937ae845b058c233981/scripts/generate.sh#L10 However,loro-gomakes use of Github Actions to get the right environment for building: https://github.com/aholstenson/loro-go/blob/b51c3b2d80d1f5024cb51937ae845b058c233981/.github/workflows/build-libs.yml#L19My main question/worry: can you also make it independent of
glibcusingmuslor are there other tricks? The goal is a static binary which doesn't rely on specific parts of the users workstation. I have no experience in this with darwin.@decentral1se i bought a mac mini for a contract this year, which means i can test building any incantations you throw at me!