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

Stabilize #[unix_sigpipe = "sig_dfl"] on fn main() #120832

Closed

Commits on Mar 9, 2024

  1. unix_sigpipe: Use sig_dfl as much as possible in tests

    That is the variant that has the highest potential to be stabilized, and
    we want to test it as much as possible.
    Enselic committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    fcc64f2 View commit details
    Browse the repository at this point in the history
  2. Stabilize #[unix_sigpipe = "sig_dfl"] on fn main()

    The attribute is used like this:
    
        #[unix_sigpipe = "sig_dfl"]
        fn main() {
            // ...
        }
    
    When used, `SIGPIPE` will be set to `SIG_DFL` before `fn main()` is
    invoked, rather than being set to `SIG_IGN` which is the default.
    
    This commit does NOT stabilize `#[unix_sigpipe = "sig_ign"]` or
    `#[unix_sigpipe = "inherit"]`.
    
    See the PR for more info.
    Enselic committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    b6d7e9d View commit details
    Browse the repository at this point in the history