Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

cpu: fix building for js #2

Merged
merged 1 commit into from Mar 21, 2022
Merged

Conversation

paralin
Copy link
Contributor

@paralin paralin commented Mar 21, 2022

Avoid importing the x/sys/cpu package for the js build tag.

Mark that CPU target has having none of the CPU features.

Fixes the build against gopherjs.

Avoid importing the x/sys/cpu package for the js build tag.

Mark that CPU target has having none of the CPU features.

Fixes the build against gopherjs.

Signed-off-by: Christian Stewart <christian@paral.in>
@marten-seemann marten-seemann merged commit a5e7b2a into quic-go:master Mar 21, 2022
marten-seemann pushed a commit that referenced this pull request Jun 5, 2022
Avoid importing the x/sys/cpu package for the js build tag.

Mark that CPU target has having none of the CPU features.

Fixes the build against gopherjs.

Signed-off-by: Christian Stewart <christian@paral.in>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants