在Linux 或macOS 上,請輸入以下命令來編譯並執行檔案:. $ rustc main.rs $ ./main Hello, world! 在Windows 上則輸入 .\main.exe 而非 ./main :.
確定! 回上一頁