You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I succeeded to build #[link(name = "user32")] extern {} fn main() {} with rust i686/x86_64 nightlies, both on d91a015ab 2014-11-14 23:37:27 +0000.
Could you provide more information: is your rustc homemade or nightly? what's output of rustc -v verbose? -luser32.dll seems strange since it must be -luser32 without .dll. Could you provide the output of rustc ... -Z print-link-args?
Activity
klutzy commentedon Nov 15, 2014
I succeeded to build
#[link(name = "user32")] extern {} fn main() {}
with rust i686/x86_64 nightlies, both ond91a015ab 2014-11-14 23:37:27 +0000
.Could you provide more information: is your rustc homemade or nightly? what's output of
rustc -v verbose
?-luser32.dll
seems strange since it must be-luser32
without.dll
. Could you provide the output ofrustc ... -Z print-link-args
?alexcrichton commentedon Nov 15, 2014
We recently switch to preferring the bundled
gcc
provided in the standard distribution, which may also have caused this (unsure though).blairn commentedon Nov 16, 2014
Nightly.
I think #18797 broke it.
rustc 0.13.0-nightly (40fb87d 2014-11-10 23:01:57 +0000)
binary: rustc
commit-hash: 40fb87d
commit-date: 2014-11-10 23:01:57 +0000
host: x86_64-pc-windows-gnu
release: 0.13.0-nightly
alexcrichton commentedon Nov 16, 2014
cc @vadimcn
vadimcn commentedon Nov 17, 2014
@blairn, your nightly was built before #18797 was merged, though.
This code compiles and runs without any problems using latest 64-bit nightly:
blairn commentedon Nov 19, 2014
It works!, it works :)
I am a very Happy Blair!