80 matching pages, found in 92 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › llvm-coverage-instrumentation
    More about rustc-dev-guide.rust-lang.org
    LLVM source-based code coverage - Rust Compiler Development Guide

    … Compiler Development Guide LLVM source-based code coverage rustc supports detailed source-based code and test coverage analysis with a command line option ( -C instrument-coverage ) that instruments Rust libraries and binaries …

    0 points
  2. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › compiler-src
    More about rustc-dev-guide.rust-lang.org
    The compiler source code - Rust Compiler Development Guide

    … overview of the compiler source Now that we have seen what the compiler does , let’s take a look at the structure of the rust-lang/rust repository, where the rustc source code …

    0 points
  3. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › appendix › code-index
    More about rustc-dev-guide.rust-lang.org
    Appendix C: Code Index - Rust Compiler Development Guide

    … AST nodes to their source code for a single source file. Was previously called FileMap The parser compiler/rustc_span/src/lib.rs SourceMap struct Maps AST nodes to their source code. It …

    0 points
  4. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › backend › codegen
    More about rustc-dev-guide.rust-lang.org
    Code generation - Rust Compiler Development Guide

    … rustc uses LLVM for code generation, but there is also support for Cranelift and GCC . The key is that rustc doesn’t implement codegen itself. It’s worth noting, though, that in the Rust …

    0 points
  5. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › llm-guidance › writing
    More about rustc-dev-guide.rust-lang.org
    Writing code with LLMs - Rust Compiler Development Guide

    … the LLM as a source of truth. Write maintainable code Treat generated code as a draft , not a final product. Follow our correctness and maintainability conventions . Avoid unnecessary abstractions and compatibility layers …

    0 points
  6. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › part-3-intro
    More about rustc-dev-guide.rust-lang.org
    Prologue - Rust Compiler Development Guide

    … Rust Compiler Development Guide Source Code Representation This part describes the process of taking raw source code from the user and transforming it into various forms that the compiler can work with …

    0 points
  7. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › licenses
    More about rustc-dev-guide.rust-lang.org
    Licenses - Rust Compiler Development Guide

    … ported, or adapted the code from some other source. There is a comment in the code pointing to a webpage or describing where the algorithm was taken from. The algorithm or code …

    0 points
  8. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › syntax-intro
    More about rustc-dev-guide.rust-lang.org
    Syntax and the AST - Rust Compiler Development Guide

    … AST Working directly with source code is very inconvenient and error-prone. Thus, before we do anything else, we convert raw source code into an Abstract Syntax Tree (AST) . It turns out …

    0 points
  9. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › part-5-intro
    More about rustc-dev-guide.rust-lang.org
    Prologue - Rust Compiler Development Guide

    … generated any executable machine code at all! With this chapter, all of that changes. So far, we’ve shown how the compiler can take raw source code in text format and transform it …

    0 points
  10. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › about-this-guide
    More about rustc-dev-guide.rust-lang.org
    About this guide - Rust Compiler Development Guide

    … of the compile process. Source code representation : Describes the process of taking raw source code from the user and transforming it into various forms that the compiler can work with easily. Supporting …

    0 points

Search for “source code site:rustc-dev-guide.rust-lang.org” on Google, or add !ddg, !w and other shortcuts to any search.