alexcrichton / alexcrichton/openssl-src-rs
Musl builds broken on readonly filesystems
未关闭
- 主要语言
- Rust
- 星标
- 80
- 派生
- 131
- 平均合并
- 49 分钟
- 30 天内合并 PR
- 2
描述
Compiling using the Nix package manager on `musl` panics:-
```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /nix/store/3bcpw5cb4pibbj8hc1z21m5i9rxa9s3r-crates-io/openssl-src-111.22.0+1.1.1q/src/lib.rs:547:26
```
This is because of
```rust
fs::write(path, buf).unwrap();
```
which tries to overwrite `crypto/rand/rand_unix.c`. Nix mounts `/nix/store` readonly.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。