Skip to content

Commit 1756667

Browse files
committed
refactor(layout): Use accessor for c_extra_filename
1 parent f5166c4 commit 1756667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/build_runner/compilation_files.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl<'a, 'gctx: 'a> CompilationFiles<'a, 'gctx> {
246246
let name = unit.pkg.package_id().name();
247247
let meta = self.metas[unit];
248248
let hash = meta
249-
.c_extra_filename
249+
.c_extra_filename()
250250
.map(|h| h.to_string())
251251
.unwrap_or_else(|| self.target_short_hash(unit));
252252
format!("{name}{separator}{hash}")

0 commit comments

Comments
 (0)