From 00f929b4221e26e95755958290c23f5129999cf1 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Wed, 3 Jan 2024 15:11:54 +0200 Subject: [PATCH] update --- earthly/postgresql/scripts/python | 1 - earthly/rust/stdcfgs/cargo_config.toml | 1 - examples/rust/.cargo/config.toml | 2 ++ examples/rust/deny.toml | 5 ++++- 4 files changed, 6 insertions(+), 3 deletions(-) delete mode 120000 earthly/postgresql/scripts/python diff --git a/earthly/postgresql/scripts/python b/earthly/postgresql/scripts/python deleted file mode 120000 index 168bb203b..000000000 --- a/earthly/postgresql/scripts/python +++ /dev/null @@ -1 +0,0 @@ -../../../utilities/scripts/python \ No newline at end of file diff --git a/earthly/rust/stdcfgs/cargo_config.toml b/earthly/rust/stdcfgs/cargo_config.toml index 8ae8ba23d..ae4eadd97 100644 --- a/earthly/rust/stdcfgs/cargo_config.toml +++ b/earthly/rust/stdcfgs/cargo_config.toml @@ -28,7 +28,6 @@ rustflags = [ "-C", "target-feature=-crt-static" ] - [target.wasm32-unknown-unknown] rustflags = ["--cap-lints", "warn"] diff --git a/examples/rust/.cargo/config.toml b/examples/rust/.cargo/config.toml index 0eae0eb21..ae4eadd97 100644 --- a/examples/rust/.cargo/config.toml +++ b/examples/rust/.cargo/config.toml @@ -28,6 +28,8 @@ rustflags = [ "-C", "target-feature=-crt-static" ] +[target.wasm32-unknown-unknown] +rustflags = ["--cap-lints", "warn"] [build] diff --git a/examples/rust/deny.toml b/examples/rust/deny.toml index d28c1100d..0c80c3331 100644 --- a/examples/rust/deny.toml +++ b/examples/rust/deny.toml @@ -98,6 +98,8 @@ ignore = [ [licenses] # The lint level for crates which do not have a detectable license unlicensed = "deny" +# Don't warn if a listed license isn't found +unused-allowed-license="allow" # List of explicitly allowed licenses # See https://spdx.org/licenses/ for list of possible licenses # [possible values: any SPDX 3.11 short identifier (+ optional exception)]. @@ -106,7 +108,8 @@ allow = [ "Apache-2.0", "Unicode-DFS-2016", "BSD-3-Clause", - "BlueOak-1.0.0" + "BlueOak-1.0.0", + "Apache-2.0 WITH LLVM-exception" ] # List of explicitly disallowed licenses # See https://spdx.org/licenses/ for list of possible licenses