Skip to content

Commit 524ac2d

Browse files
committed
Allow wine to work
1 parent d38376d commit 524ac2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build_system/landlock.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ pub(super) fn lock_build(cargo: &Path, frozen: bool) {
4949
&[env::current_dir().unwrap().join("build"), env::current_dir().unwrap().join("dist")],
5050
access_all,
5151
))
52+
.unwrap()
53+
.add_rules(path_beneath_rules(
54+
&[
55+
#[allow(deprecated)]
56+
std::env::home_dir().unwrap().join(".wine"),
57+
],
58+
access_all,
59+
))
5260
.unwrap();
5361

5462
let ruleset = if frozen {

0 commit comments

Comments
 (0)