Skip to content
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

Add cygwin support #774

Merged
merged 1 commit into from
Mar 5, 2025
Merged

Add cygwin support #774

merged 1 commit into from
Mar 5, 2025

Conversation

Berrysoft
Copy link
Contributor

Most changes ported from Ookiineko.

@Berrysoft
Copy link
Contributor Author

Do I have to add cfg-check for this new target?

@tgross35
Copy link
Contributor

The failing job has a pinned rustc version due to a bug in the latest LLVM upgrade, but that should be resolved in a soonish nightly.

Just to confirm, cygwin doesn't support weak linking?

@Berrysoft
Copy link
Contributor Author

No, it doesn't.

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but blocked on rust-lang/rust#137661 and the current builtins sync

Comment on lines +45 to +46
// Windows and Cygwin already has builtins to do this.
#![cfg(not(any(windows, target_os = "cygwin")))]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit if you have time, s/has/have/

@tgross35
Copy link
Contributor

tgross35 commented Mar 5, 2025

CI should be fixed with #782. I still have to hold off merging until rust-lang/rust#137634 goes through.

@tgross35 tgross35 enabled auto-merge (rebase) March 5, 2025 06:08
Co-authored-by: Ookiineko <chiisaineko@protonmail.com>
@tgross35 tgross35 merged commit 5883d71 into rust-lang:master Mar 5, 2025
26 checks passed
tgross35 added a commit to tgross35/rust that referenced this pull request Mar 5, 2025
This enables `f16` builtins for loongarch [1] and adds support for
Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 5, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
@Berrysoft Berrysoft deleted the dev/cygwin-main branch March 5, 2025 13:01
jieyouxu added a commit to jieyouxu/rust that referenced this pull request Mar 5, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
jieyouxu added a commit to jieyouxu/rust that referenced this pull request Mar 5, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
Noratrieb added a commit to Noratrieb/rust that referenced this pull request Mar 6, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Mar 6, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Mar 7, 2025
Rollup merge of rust-lang#138038 - tgross35:update-builtins, r=tgross35

Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Mar 7, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Mar 10, 2025
Update `compiler-builtins` to 0.1.151

This enables `f16` builtins for loongarch [1] and adds support for Cygwin [2].

[1]: rust-lang/compiler-builtins#770
[2]: rust-lang/compiler-builtins#774

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants