mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 04:24:43 +00:00
44 lines
1.5 KiB
Markdown
44 lines
1.5 KiB
Markdown
# `erg` 构建功能
|
||
|
||
[](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=doc/EN/dev_guide/build_features.md&commit_hash=cbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47)
|
||
|
||
## debug
|
||
|
||
进入调试模式。结果,Erg 内部的行为顺序显示在日志中
|
||
独立于 Rust 的 `debug_assertions` 标志
|
||
|
||
## japanese
|
||
|
||
将系统语言设置为日语
|
||
Erg 内部选项、帮助(帮助、版权、许可证等)和错误显示为日语
|
||
|
||
## simplified_chinese
|
||
|
||
将系统语言设置为简体中文
|
||
Erg 内部选项、帮助(帮助、版权、许可证等)和错误显示为简体中文
|
||
|
||
## traditional_chinese
|
||
|
||
将系统语言设置为繁体中文
|
||
Erg 内部选项、帮助(帮助、版权、许可证等)和错误显示为繁体中文。
|
||
|
||
## unicode/pretty
|
||
|
||
使得编译器显示丰富内容
|
||
|
||
## pre-commit
|
||
|
||
用于在预提交中运行测试。这是一个bug解决方案
|
||
|
||
## large_thread
|
||
|
||
增加线程堆栈大小。用于Windows执行和测试执行
|
||
|
||
## els
|
||
|
||
通过 `--language-server` 使其变得可用
|
||
通过 `erg --language-server` 打开
|
||
|
||
## py_compatible
|
||
|
||
启用Python兼容模式,使部分api和语法与Python兼容。用于[pylyzer](https://github.com/mtshiba/pylyzer)
|