Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wa-lang
wa
提交
7f70a119
wa
项目概览
wa-lang
/
wa
9 个月 前同步成功
通知
68
Star
655
Fork
45
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
wa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
7f70a119
编写于
6月 09, 2023
作者:
3
3dgen
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
https://gitee.com/wa-lang/wa
上级
b4d1b285
ca2669a2
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
18 addition
and
4 deletion
+18
-4
Makefile
Makefile
+11
-0
_examples/Makefile
_examples/Makefile
+3
-0
api/api_nowasm_test.go
api/api_nowasm_test.go
+2
-2
internal/backends/compiler_wat/wir/instruction_emitter.go
internal/backends/compiler_wat/wir/instruction_emitter.go
+1
-1
internal/waroot/_waroot/src/errors/errors_test.wa
internal/waroot/_waroot/src/errors/errors_test.wa
+1
-1
未找到文件。
Makefile
浏览文件 @
7f70a119
...
...
@@ -24,8 +24,19 @@ ci-test-all:
go
test
./...
@echo
"== std test begin =="
go
run
main.go
test
binary
go
run
main.go
test
errors
go
run
main.go
test
fmt
go
run
main.go
test
image
go
run
main.go
test
image/bmp
go
run
main.go
test
image/color
go
run
main.go
test
io
go
run
main.go
test
math
go
run
main.go
test
os
go
run
main.go
test
regexp
go
run
main.go
test
strconv
go
run
main.go
test
unicode
go
run
main.go
test
unicode/utf8
@echo
"== std ok =="
go
run
main.go
hello.wa
...
...
_examples/Makefile
浏览文件 @
7f70a119
...
...
@@ -19,7 +19,10 @@ ci-test-all:
# snake
cd
./snake
&&
make
publish
go
run
../main.go
copy.wa
go
run
../main.go
eq.wa
go
run
../main.go
interface_named.wa
go
run
../main.go
strbytes.wa
go
run
../main.go
struct.wa
@echo
"== _examples ok =="
...
...
api/api_nowasm_test.go
浏览文件 @
7f70a119
...
...
@@ -56,6 +56,6 @@ func ExampleRunCode_args() {
fmt
.
Print
(
string
(
output
))
// Output:
// 0
:
aa
// 1
:
bb
// 0
:
aa
// 1
:
bb
}
internal/backends/compiler_wat/wir/instruction_emitter.go
浏览文件 @
7f70a119
...
...
@@ -663,7 +663,7 @@ func (m *Module) EmitGenConvert(x Value, typ ValueType) (insts []wat.Inst) {
return
}
logger
.
Fatal
(
"Todo: %T %T
"
,
x
,
typ
)
logger
.
Fatal
f
(
"Todo: %+v %+v
"
,
x
,
typ
)
return
}
...
...
internal/waroot/_waroot/src/errors/errors_test.wa
浏览文件 @
7f70a119
...
...
@@ -26,7 +26,7 @@ func TestErrorMethod {
func ExampleNew() {
err := New("emit macho dwarf: elf header corrupted")
if err != nil {
print(err)
print(err
.Error()
)
}
// Output: emit macho dwarf: elf header corrupted
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录