Files
rust/src
Jonathan Brouwer f9d22c04a5 Rollup merge of #153003 - notriddle:emit-outdir, r=fmease
rustdoc: make `--emit` and `--out-dir` mimic rustc

The behavior in the test case matches rustc's:

    test-dingus % ls
    main.rs
    test-dingus % mkdir foobar
    test-dingus % rustc --emit=dep-info main.rs --out-dir=foobar
    test-dingus % ls
    foobar  main.rs
    test-dingus % ls foobar
    main.d
    test-dingus % rustc --emit=dep-info=testfile.d main.rs --out-dir=foobar
    test-dingus % ls
    foobar          main.rs         testfile.d
    test-dingus % ls foobar
    main.d

CC https://github.com/rust-lang/rust/pull/146220#issuecomment-3936957755
2026-03-03 07:14:14 +01:00
..
2026-02-25 03:59:51 +01:00
2026-02-14 16:59:09 +01:00
2026-02-25 07:39:35 +08:00
…
…
2026-02-27 09:38:23 -08:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.