-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ktmw32-sys (Kernel Transaction Manager) #92
Conversation
Rust distribution doesn't include |
shell32-sys = { path = "lib/shell32-sys" } | ||
user32-sys = { path = "lib/user32-sys" } | ||
uuid-sys = { path = "lib/uuid-sys" } | ||
winmm-sys = { path = "lib/winmm-sys" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need the version = "*"
bit so that I can upload it to crates.io.
Not relying on locally installed libraries is something I am considering. |
|
Rebased on the latest |
@@ -1,5 +1,19 @@ | |||
// Copyright © 2015, Peter Atashian | |||
// Licensed under the MIT License <LICENSE.md> | |||
use std::env::var; | |||
|
|||
fn link_win32_lib(libname: &str) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be common for all *-sys
crates, but that would require another build dependency.
taken from msys-mingw-4.9.2
Rebased again, and used |
(Create|Commit|Rollback)Transaction
functions ofktmw32.dll
Reg(Create|Open|Delete)Transacted
functions ofadvapi32.dll
lpClass
in signatures ofRegCreateKeyExA
andRegCreateKeyExW
in accordance with MSDN