Skip to content

Test trying to write to /tmp/random.bytes #1293

@bjorn3

Description

@bjorn3

/tmp may not exist (for example on Windows), or /tmp/random.bytes may be owned by another user. This is causing cargo test --workspace to fail on Windows: https://github.com/bjorn3/rustc_codegen_cranelift/actions/runs/4275370282/jobs/7442671959

/// io::copy(&mut OsRng.read_adapter().take(100), &mut File::create("/tmp/random.bytes").unwrap()).unwrap();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions