Skip to content

Commit

Permalink
Reformat test_crates/cackle.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlattimore committed Sep 19, 2023
1 parent d2e384e commit 2981dea
Showing 1 changed file with 13 additions and 30 deletions.
43 changes: 13 additions & 30 deletions test_crates/cackle.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,25 @@ allow_apis = [
"terminate",
"unix_sockets",
]

[pkg.crab-1.build]
allow_apis = [
build.allow_apis = [
"net",
]
build.sandbox.allow_network = true

[pkg.crab-2]
allow_apis = [
"env",
"fs",
]

[pkg.crab-2.build]
allow_apis = [
"process",
build.allow_apis = [
"env",
"fs",
"process",
]
allow_build_instructions = [
build.allow_build_instructions = [
"cargo:rustc-link-*"
]
allow_unsafe = true
build.allow_unsafe = true

[pkg.crab-3]
allow_unsafe = true
Expand All @@ -81,9 +78,7 @@ allow_apis = [
"env",
"crab-1::fs",
]

[pkg.crab-3.build]
allow_apis = [
build.allow_apis = [
"env",
"fs",
]
Expand All @@ -101,10 +96,8 @@ allow_apis = [
"res1",
]
allow_unsafe = true

[pkg.crab-bin.build]
sandbox.kind = "Disabled"
allow_apis = [
build.sandbox.kind = "Disabled"
build.allow_apis = [
"fs",
]

Expand All @@ -115,9 +108,7 @@ allow_apis = [
"process",
]
allow_unsafe = true

[pkg.crab-4.build]
allow_apis = [
build.allow_apis = [
"env",
"fs",
]
Expand Down Expand Up @@ -157,10 +148,7 @@ test.sandbox.bind_writable = [

[pkg.crab-10]
allow_unsafe = true

[pkg.crab-10.build]
allow_unsafe = true
allow_apis = [
build.allow_apis = [
"env",
"fs",
"process",
Expand All @@ -173,13 +161,8 @@ allow_build_instructions = [
allow_apis = [
"fs",
]

[pkg.crab-11.test]
sandbox.kind = "Disabled"
allow_apis = [
test.sandbox.kind = "Disabled"
test.allow_apis = [
"env",
"terminate",
]

[pkg.crab-1.build.sandbox]
allow_network = true

0 comments on commit 2981dea

Please sign in to comment.