Add link attribute
This commit is contained in:
parent
3d8d35d840
commit
03e0ab29e2
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ RUSTFLAGS += -L. --cfg debug -Z debug-info
|
||||
all: postgres.dummy
|
||||
|
||||
postgres.dummy: src/lib.rs src/message.rs src/types.rs
|
||||
$(RUSTC) $(RUSTFLAGS) --lib src/lib.rs -o $@
|
||||
$(RUSTC) $(RUSTFLAGS) --lib src/lib.rs --out-dir .
|
||||
touch $@
|
||||
|
||||
.PHONY: check
|
||||
|
@ -1,3 +1,7 @@
|
||||
#[link(name = "postgres",
|
||||
vers = "0.1",
|
||||
url = "https://github.com/sfackler/rust-postgres")];
|
||||
|
||||
extern mod extra;
|
||||
|
||||
use extra::container::Deque;
|
||||
|
Loading…
Reference in New Issue
Block a user