Skip to content

Commit d42e582

Browse files
committed
add config.toml into tarball sources
This will be useful for certain scenarios where developers want to know how the tarball sources were generated. We also want this to check for CI rustc incompatible options on bootstrap. Signed-off-by: onur-ozkan <[email protected]>
1 parent 60d1465 commit d42e582

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/src/utils/tarball.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,9 @@ impl<'a> Tarball<'a> {
317317
channel::write_commit_hash_file(&self.overlay_dir, &info.sha);
318318
channel::write_commit_info_file(&self.overlay_dir, info);
319319
}
320+
321+
self.add_file(self.builder.config.config.as_ref().unwrap(), &self.overlay_dir, 0o644);
322+
320323
for file in self.overlay.legal_and_readme() {
321324
self.builder.install(&self.builder.src.join(file), &self.overlay_dir, 0o644);
322325
}

0 commit comments

Comments
 (0)