File tree 1 file changed +4
-4
lines changed
src/test/run-make/issue-85019-moved-src-dir
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
cp my_lib.rs $(FIRST_SRC ) /my_lib.rs
19
19
cp main.rs $(FIRST_SRC ) /main.rs
20
20
cd $(FIRST_SRC ) && \
21
- $(RUSTC ) -C incremental=$(INCR ) --crate-type lib my_lib.rs && \
22
- $(RUSTC ) -C incremental=$(INCR ) --extern my_lib=$(TMPDIR ) /libmy_lib.rlib main.rs
21
+ $(RUSTC ) -C incremental=$(INCR ) --crate-type lib my_lib.rs --target $( TARGET ) && \
22
+ $(RUSTC ) -C incremental=$(INCR ) --extern my_lib=$(TMPDIR ) /libmy_lib.rlib main.rs --target $( TARGET )
23
23
# Build from 'SECOND_SRC', keeping the output directory and incremental directory
24
24
# the same
25
25
mv $(FIRST_SRC ) $(SECOND_SRC )
26
26
cd $(SECOND_SRC ) && \
27
- $(RUSTC ) -C incremental=$(INCR ) --crate-type lib my_lib.rs && \
28
- $(RUSTC ) -C incremental=$(INCR ) --extern my_lib=$(TMPDIR ) /libmy_lib.rlib main.rs
27
+ $(RUSTC ) -C incremental=$(INCR ) --crate-type lib my_lib.rs --target $( TARGET ) && \
28
+ $(RUSTC ) -C incremental=$(INCR ) --extern my_lib=$(TMPDIR ) /libmy_lib.rlib main.rs --target $( TARGET )
You can’t perform that action at this time.
0 commit comments