Page MenuHomeDevCentral

D2425.id6101.diff
No OneTemporary

D2425.id6101.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
Wed, Nov 27, 11:59 (20 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266851
Default Alt Text
D2425.id6101.diff (582 B)

Event Timeline