-
-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interp: fix build tags to allow wasm builds
This commit changes package interp's build tags and filenames around to allow building on WebAssembly (and potentially Plan 9).
- Loading branch information
1 parent
ba9aa0b
commit 1e04c5b
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
// Copyright (c) 2017, Andrey Nering <[email protected]> | ||
// See LICENSE for licensing information | ||
|
||
//go:build !unix | ||
// +build !unix | ||
|
||
package interp | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// Copyright (c) 2017, Andrey Nering <[email protected]> | ||
// See LICENSE for licensing information | ||
|
||
//go:build !windows | ||
// +build !windows | ||
//go:build unix | ||
// +build unix | ||
|
||
package interp | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// Copyright (c) 2019, Daniel Martí <[email protected]> | ||
// See LICENSE for licensing information | ||
|
||
//go:build !windows | ||
// +build !windows | ||
//go:build unix | ||
// +build unix | ||
|
||
package interp_test | ||
|
||
|