Rust 程序设计语言 简体中文版 1.85.0
Hello, world!。 如果你更熟悉动态语言,如 Ruby、Python 或 JavaScript,则可能不习惯将编译和运行分为两 个单独的步骤。Rust 是一种 预编译静态类型(ahead-of-time compiled)语言,这意味着你可 以编译程序,并将可执行文件送给其他人,他们甚至不需要安装 Rust 就可以运行。如果你给 他人一个 .rb、.py 或 .js 文件,他们需要先分别安装 R information about this error, try `rustc --explain E0308`. 31/562Rust 程序设计语言 简体中文版 error: could not compile `guessing_game` (bin "guessing_game") due to 1 previous error 错误的核心表明这里有 不匹配的类型(mismatched types)。Rust +++ For more information about this error, try `rustc --explain E0384`. error: could not compile `variables` (bin "variables") due to 1 previous error 这个例子展示了编译器如何帮助你找出程序中的错误。虽然编译错误令人沮丧,但那只是表示0 码力 | 562 页 | 3.23 MB | 10 天前3
共 1 条
- 1