Skip to content

Commit d267af1

Browse files
authored
Merge pull request torvalds#688 from ojeda/canon-path
kbuild: canonicalization of target path not needed anymore
2 parents a28ac22 + b7efa79 commit d267af1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/Makefile.build

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,7 @@ $(obj)/%.lst: $(src)/%.c FORCE
328328
# Compile Rust sources (.rs)
329329
# ---------------------------------------------------------------------------
330330

331-
# Need to use absolute path here and have symbolic links resolved;
332-
# otherwise rustdoc and rustc compute different hashes for the target.
333-
rust_cross_flags := --target=$(realpath $(KBUILD_RUST_TARGET))
334-
331+
rust_cross_flags := --target=$(KBUILD_RUST_TARGET)
335332
rust_allowed_features := allocator_api,bench_black_box,concat_idents,generic_associated_types
336333

337334
rust_common_cmd = \

0 commit comments

Comments
 (0)