使用带有 `-race` 标志的再次测试会导致 segfault (Go)
作者: HectorMalot创建于 2025年5月27日更新于 2026年5月6日
when running `encore test -race -v -run ^TestWorld$ encore.app/hello` this will result in a segfault. I've reproduced this on the starter `hello world` repository (no changes) by just running the command as shown above. It consistently results in a segfault. I think this is related to encore and not the test code because I can consistently reproduce it even in the templates.
内容来源: encoredev/encore