Skip to content

Commit

Permalink
Fix some typos. (#57)
Browse files Browse the repository at this point in the history
* Fix some typos.

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>

* Update check-cla.go

---------

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: chai2010 <chaishushan@gmail.com>
  • Loading branch information
zhanluxianshen and chai2010 authored Nov 20, 2024
1 parent cf2f3e1 commit 625d74d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func LoadProgramVFS(vfs *config.PkgVFS, cfg *config.Config, pkgPath string) (*Pr
func BuildFile(cfg *config.Config, filename string, src interface{}) (mainFunc string, wat []byte, err error) {
prog, err := LoadProgramFile(cfg, filename, src)
if err != nil || prog == nil {
logger.Tracef(&config.EnableTrace_api, "LoadProgramVFS failed, err = %v", err)
logger.Tracef(&config.EnableTrace_api, "LoadProgramFile failed, err = %v", err)
return "", nil, err
}

Expand Down
2 changes: 1 addition & 1 deletion builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (p *Builder) genWaExe() {
dstpath := filepath.Join(waRootPath, "bin", "wa.wasm")

cmd := exec.Command("go", "build", "-o", dstpath, "wa-lang.org/wa")
cmd.Env = append([]string{"GOOS=" + wasip1, "GOARCH=" + wasm, "CGO_ENABLED=0"}, os.Environ()...)
cmd.Env = append([]string{"GOOS=" + wasip1, "GOARCH=" + wasm, CGO_ENABLED}, os.Environ()...)
if output, err := cmd.CombinedOutput(); err != nil {
fmt.Print(string(output))
panic(err)
Expand Down
1 change: 1 addition & 0 deletions wca/check-cla.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var wcaMap = map[string]bool{
"powerman1st@163.com": true,
"visus@qq.com": true,
"wuxuan.ecios@gmail.com": true,
"zhanluxianshen@163.com": true,
}

func main() {
Expand Down

0 comments on commit 625d74d

Please sign in to comment.