NewRustCompileProvider 创建一个rust语言编译提供程序
()
| 9 | |
| 10 | // NewRustCompileProvider 创建一个rust语言编译提供程序 |
| 11 | func NewRustCompileProvider() *RustCompileProvider { |
| 12 | return &RustCompileProvider{ |
| 13 | CodeCompileProvider{ |
| 14 | isReady: false, |
| 15 | realTime: false, |
| 16 | Name: "rust", |
| 17 | }, |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | // Init 初始化 |
| 22 | func (prov *RustCompileProvider) Init(code string, workDir string) error { |