Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from fullstorydev:master #7

Merged
merged 2 commits into from
Oct 25, 2023
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 25, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

This PR disables CGO so we don't have any dependencies on C libraries
expected to be found in the environment, in order to achieve a better
compatibility across distros.

Tested by running `make install` before and after the changes and
inspecting the produced binary from a Linux machine (Debian in this
case).
**Before**
```sh
ldd $(which grpcui)
	linux-vdso.so.1 (0x00007ffe2cb2e000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fcc13946000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcc13924000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcc13750000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fcc1396a000)
```
**After**
```sh
ldd $(which grpcui)
	not a dynamic executable
```

Follow-up of the same changes in `grpcurl`:
fullstorydev/grpcurl#420
While releasing `[email protected]`, I encountered an error described in
fullstorydev/grpcurl#421.

A similar change happened in `grpcui`'s Homebrew formula:
Homebrew/homebrew-core@c845f04

We probably need to update the Tarball URL used to update our Homebrew
formula as well.
@pull pull bot added the ⤵️ pull label Oct 25, 2023
@pull pull bot merged commit 2c21280 into kkpan11:master Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant