Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3785987
D2425.id6101.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
582 B
Referenced Files
None
Subscribers
None
D2425.id6101.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2425: Update build instructions for PostgreSQL on Windows
Attached
Detach File
Event Timeline
Log In to Comment