Get support for joelwurtz/segfault-golang-with-rust

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

joelwurtz/segfault-golang-with-rust

Segfault example with golang signal + rust html5ever

This is the smallest example that i can build to reproduce this segfault

Compiling rust

You will need x86_64-unknown-linux-musl target installed

cargo build --lib --target x86_64-unknown-linux-musl

Compiling & running go

You will need musl-gcc compiler

CC=/usr/bin/musl-gcc go run --ldflags "-linkmode external -extldflags '-static'" main.go

Doing this will result in a segfault

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2