mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Use --print-file-name instead of --crate-file-name
This commit is contained in:
parent
7888b8e068
commit
0f1dc66098
4
Makefile
4
Makefile
@ -23,8 +23,8 @@ BINS = cargo \
|
||||
SRC = $(shell find src -name '*.rs' -not -path 'src/bin*')
|
||||
|
||||
DEPS = -L libs/hammer.rs/target -L libs/toml-rs/build
|
||||
TOML = libs/toml-rs/build/$(shell $(RUSTC) --crate-file-name libs/toml-rs/src/toml.rs)
|
||||
HAMMER = libs/hammer.rs/target/$(shell $(RUSTC) --crate-type=lib --crate-file-name libs/hammer.rs/src/hammer.rs)
|
||||
TOML = libs/toml-rs/build/$(shell $(RUSTC) --print-file-name libs/toml-rs/src/toml.rs)
|
||||
HAMMER = libs/hammer.rs/target/$(shell $(RUSTC) --crate-type=lib --print-file-name libs/hammer.rs/src/hammer.rs)
|
||||
HAMCREST = libs/hamcrest-rust/target/libhamcrest.timestamp
|
||||
LIBCARGO = target/libcargo.timestamp
|
||||
BIN_TARGETS = $(patsubst %,target/%,$(BINS))
|
||||
|
Loading…
x
Reference in New Issue
Block a user