Fix pep508_rs doc test (#963)

Since nextest does not run doctests, this did not show up on CI.
This commit is contained in:
konsti 2024-01-18 15:24:30 +01:00 committed by GitHub
parent 5ec5a3243c
commit 7acde5a9a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View file

@ -362,7 +362,7 @@ pub(crate) fn write_script_entrypoints(
record,
)?;
// We need to make the launcher executable
#[cfg(target_family = "unix")]
#[cfg(unix)]
{
use std::os::unix::fs::PermissionsExt;
fs::set_permissions(