-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rust build fails on Solaris after: Implement file_lock feature #132921
Comments
Oh, sorry about that breakage. Is there a way for me to test all the Tier 2 targets to make sure they compile? I can send a PR to fix this, but don't have a Solaris machine for testing |
For Solaris You should be able to play with Solaris via https://portal.cfarm.net/machines/list/ (cfarm215 and cfarm216). But previous registration is needed. |
Thanks, I requested an account there. |
Still waiting for access, so I haven't been able to test this fix. It seems pretty trivial though, so hopefully it's correct |
@cberner The new As per here, the The fix in #132977 should take care of the issue for ESP IDF as well I think, simply because it only enables the |
Yep, I didn't realize how many OSs use the |
Rollup merge of rust-lang#132977 - cberner:fix_solaris, r=tgross35 Fix compilation error on Solaris due to flock usage PR 130999 added the file_lock feature, but libc does not define flock() for the Solaris platform leading to a compilation error. Additionally, I went through all the Tier 2 platforms and read through their documentation to see whether flock was implemented. This turned up 5 more Unix platforms where flock is not supported, even though it may exist in the libc crate. Fixes rust-lang#132921 Related to rust-lang#130999
Solaris OS doesn't support
flock()
and thus Rust fails to build after #130999 :with following error:
The text was updated successfully, but these errors were encountered: