-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

rustc


> The Rust compiler.

> Processes, compiles and links Rust language source files.

More information.


Compile a single file:

rustc {file.rs}

Compile with high optimization:

rustc -O {file.rs}

Compile with debugging information:

rustc -g {file.rs}

Compile with architecture-specific optimizations for the current CPU:

rustc -C target-cpu=native {path/to/file.rs}

Display architecture-specific optimizations for the current CPU:

rustc -C target-cpu=native --print cfg

Display target list:

rustc --print target-list

Compile for a specific target:

rustc --target {target_triple} {path/to/file.rs}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 07:08:24 2024