Page MenuHomeDevCentral

D2425.diff
No OneTemporary

D2425.diff

diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -23,15 +23,16 @@
You need to give to `rustc` some hints about where `libpq.lib` is.
-This is known to have worked:
+The pq-sys crate offers a build script to find the library
+and then print the relevant hints.
+
+You can manually set your PostgreSQL library folder with:
```
-setenv LIB "C:\Program Files\PostgreSQL\10\lib"
-cargo clean
+export PQ_LIB_DIR="C:\Program Files\PostgreSQL\13\lib"
cargo run
```
-
## Credits
The glue code to use Rocket with Diesel is adapted from the Rocket guide.

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 22, 21:29 (19 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2593277
Default Alt Text
D2425.diff (582 B)

Event Timeline