|
84 | 84 | //! `RUST_LOG=cargo::core::compiler::fingerprint=trace cargo build` can be |
85 | 85 | //! used to display this log information. |
86 | 86 | //! - A "dep-info" file which contains a list of source filenames for the |
87 | | -//! target. This is produced by `rustc`'s `--emit=dep-info` flag. Cargo uses |
88 | | -//! this to check the mtime of every file to see if any of them have |
89 | | -//! changed. |
| 87 | +//! target. This is produced by reading the output of `rustc |
| 88 | +//! --emit=dep-info` and packing it into a condensed format. Cargo uses this |
| 89 | +//! to check the mtime of every file to see if any of them have changed. |
90 | 90 | //! - An `invoked.timestamp` file whose filesystem mtime is updated every time |
91 | 91 | //! the Unit is built. This is an experimental feature used for cleaning |
92 | 92 | //! unused artifacts. |
@@ -735,7 +735,7 @@ pub fn prepare_build_cmd<'a, 'cfg>( |
735 | 735 | // again. This should only find 1 dependency (for the build script) or 0 |
736 | 736 | // (if it is overridden). |
737 | 737 | // |
738 | | - // Note that this filters out `RunCustomBuild` units. These are `links` |
| 738 | + // FIXME: This filters out `RunCustomBuild` units. These are `links` |
739 | 739 | // build scripts. Unfortunately, for many reasons, those would be very |
740 | 740 | // difficult to include, so for now this is slightly wrong. Reasons: |
741 | 741 | // Fingerprint::locals has to be rebuilt in the closure, LocalFingerprint |
@@ -796,7 +796,7 @@ pub fn prepare_build_cmd<'a, 'cfg>( |
796 | 796 | fingerprint.local = local_fingerprints_deps(&deps, &target_root, &pkg_root); |
797 | 797 | fingerprint.update_local(&target_root)?; |
798 | 798 | } |
799 | | - // Note: If a build script switches from new style to old style, |
| 799 | + // FIXME: If a build script switches from new style to old style, |
800 | 800 | // this is bugged. It should recompute Fingerprint::local, but |
801 | 801 | // requires access to Context which we don't have here. |
802 | 802 | // See https://github.com/rust-lang/cargo/issues/6779 |
|
0 commit comments