-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from rgl/rgl-wasm
add support for the wasm wasip1 build target
- Loading branch information
Showing
6 changed files
with
38 additions
and
8 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//go:build wasip1 | ||
// +build wasip1 | ||
|
||
package disk | ||
|
||
import "errors" | ||
|
||
func (d *Disk) ReReadPartitionTable() error { | ||
return errors.New("not implemented") | ||
} |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ import ( | |
"sort" | ||
"time" | ||
|
||
"gopkg.in/djherbis/times.v1" | ||
"github.com/djherbis/times" | ||
) | ||
|
||
const ( | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
//go:build wasip1 | ||
// +build wasip1 | ||
|
||
//nolint:unconvert // linter gets confused in this file | ||
package squashfs | ||
|
||
import ( | ||
"errors" | ||
"os" | ||
) | ||
|
||
func getDeviceNumbers(path string) (major, minor uint32, err error) { | ||
return 0, 0, errors.New("not implemented") | ||
} | ||
|
||
func getFileProperties(fi os.FileInfo) (links, uid, gid uint32) { | ||
return 0, 0, 0 | ||
} |
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
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