Skip to content

compileopts: add noasm default build tag#5305

Open
jakebailey wants to merge 1 commit intotinygo-org:devfrom
jakebailey:noasm-build-tag
Open

compileopts: add noasm default build tag#5305
jakebailey wants to merge 1 commit intotinygo-org:devfrom
jakebailey:noasm-build-tag

Conversation

@jakebailey
Copy link
Copy Markdown
Contributor

@jakebailey jakebailey commented Apr 14, 2026

I don't know if this is a good idea or not, but, this affects github.com/zeebo/xxh3 and github.com/klauspost/cpuid/v2 which both fail to compile with tinygo unless their asm is disabled (at least for amd64 where I was testing). I am not 100% familiar with what asm tinygo supports, but my impression was that it handles none, hence setting purego? Unclear why these packages don't just use purego.

(Happy to just not do this and keep the build tag to myself if that is more acceptable, I'm just splitting apart a chain of commits in the process of getting tsgo working).

Updates #4894

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant