File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/run-make/issue-85019-moved-src-dir Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818 cp my_lib.rs $(FIRST_SRC ) /my_lib.rs
1919 cp main.rs $(FIRST_SRC ) /main.rs
2020 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 )
2323 # Build from 'SECOND_SRC', keeping the output directory and incremental directory
2424 # the same
2525 mv $(FIRST_SRC ) $(SECOND_SRC )
2626 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