Skip to content

refactor: cfg for dir/env/errno #2214

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

Merged
merged 1 commit into from
Nov 26, 2023
Merged

Conversation

SteveLauC
Copy link
Member

What does this PR do

Apply the cfg aliases for:

  • dir.rs
  • env.rs
  • errno.rs

ref: #2188

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

target_os = "l4re",
target_os = "linux",
target_os = "solaris"))] {
target_os = "l4re"))] {
Copy link
Member

Choose a reason for hiding this comment

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

Honestly we could probably eliminate l4re. I'm not sure why it's there in the first place. This is the only reference to it in Nix, and it doesn't come remotely close to compiling.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will do it

@asomers asomers added this pull request to the merge queue Nov 26, 2023
Merged via the queue into nix-rust:master with commit 8cc58e7 Nov 26, 2023
@SteveLauC SteveLauC deleted the cfg_dir_env_errno branch November 26, 2023 23:06
@SteveLauC SteveLauC mentioned this pull request Nov 26, 2023
3 tasks
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