80 matching pages, found in 163 ms

Written 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 › 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
  3. 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
  4. 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
  5. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › overview
    More about rustc-dev-guide.rust-lang.org
    Overview of the compiler - Rust Compiler Development Guide

    … parsing The raw Rust source text is analyzed by a low-level lexer located in rustc_lexer . At this stage, the source text is turned into a stream of atomic source code …

    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 › 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
  8. rustc-dev-guide.rust-lang.orghttps://rustc-dev-guide.rust-lang.org › debugging-support-in-rustc
    More about rustc-dev-guide.rust-lang.org
    (Lecture notes) Debugging support in the Rust compiler - Rust Compiler Development Guide

    … also looks like Rust source code. Checkout the documentation in the manual for GDB/Rust . Parser extensions Expression parser has a couple of extensions in it to facilitate features that you cannot …

    0 points
  9. 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
  10. 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

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