Skip to content

i686-pc-windows-gnu executables depend on additional DLL #71061

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
mati865 opened this issue Apr 12, 2020 · 2 comments · Fixed by #71023
Closed

i686-pc-windows-gnu executables depend on additional DLL #71061

mati865 opened this issue Apr 12, 2020 · 2 comments · Fixed by #71023
Labels
C-bug Category: This is a bug. O-windows-gnu Toolchain: GNU, Operating system: Windows regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@mati865
Copy link
Contributor

mati865 commented Apr 12, 2020

I tried this code:

fn main() {
    println!("Hello, world!");
}

I expected to see this happen: Get portable executable depending only on C:/Windows/System32 libraries.
Instead, this happened: Since nightly-2020-03-15 (most likely #67502) building with i686-pc-windows-gnu target results in executable that depends on libwinpthread-1.dll beside typical libraries.

Meta

rustc --version --verbose:

rustc 1.44.0-nightly (94d346360 2020-04-09)
binary: rustc
commit-hash: 94d346360da50f159e0dc777dc9bc3c5b6b51a00
commit-date: 2020-04-09
host: x86_64-pc-windows-gnu
release: 1.44.0-nightly
LLVM version: 9.0
@mati865 mati865 added the C-bug Category: This is a bug. label Apr 12, 2020
@mati865

This comment has been minimized.

@rustbot

This comment has been minimized.

@jonas-schievink jonas-schievink added O-windows-gnu Toolchain: GNU, Operating system: Windows regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 12, 2020
@bors bors closed this as completed in cc07228 Apr 13, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug. O-windows-gnu Toolchain: GNU, Operating system: Windows regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants