From 9edbb3fd7dee87d4ca67c364f64aed83fb1234d7 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Wed, 31 Dec 2025 14:00:33 +0100 Subject: [PATCH 1/5] don't deny warnings --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 87329f3..1c594fa 100755 --- a/build.sh +++ b/build.sh @@ -17,6 +17,7 @@ rm -f bootstrap.toml --set llvm.download-ci-llvm=true \ --set rust.llvm-tools=false \ --set rust.llvm-bitcode-linker=false \ + --set build.warnings=false \ --set build.optimized-compiler-builtins=false # necessary to make cross-doc work for all targets targets=( From b3e14df470b17ef62efded8becd8e03f0f029cfd Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Wed, 31 Dec 2025 14:18:24 +0100 Subject: [PATCH 2/5] fix build --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 1c594fa..13e9ee7 100755 --- a/build.sh +++ b/build.sh @@ -17,9 +17,10 @@ rm -f bootstrap.toml --set llvm.download-ci-llvm=true \ --set rust.llvm-tools=false \ --set rust.llvm-bitcode-linker=false \ - --set build.warnings=false \ --set build.optimized-compiler-builtins=false # necessary to make cross-doc work for all targets +echo "build.warnings = false" >> config.toml + targets=( x86_64-unknown-linux-gnu x86_64-pc-windows-msvc From 956f1677bbc6141316f4e1a623d441eb97e53d1b Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Wed, 31 Dec 2025 14:36:16 +0100 Subject: [PATCH 3/5] oops --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 13e9ee7..42cd797 100755 --- a/build.sh +++ b/build.sh @@ -19,7 +19,7 @@ rm -f bootstrap.toml --set rust.llvm-bitcode-linker=false \ --set build.optimized-compiler-builtins=false # necessary to make cross-doc work for all targets -echo "build.warnings = false" >> config.toml +echo "rust.deny-warnings = true" >> bootstrap.toml targets=( x86_64-unknown-linux-gnu From 21fda36d9cd23bfef4f904ed4c741c2bcc21e103 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Wed, 31 Dec 2025 14:43:39 +0100 Subject: [PATCH 4/5] AAA --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 42cd797..cb68007 100755 --- a/build.sh +++ b/build.sh @@ -19,7 +19,7 @@ rm -f bootstrap.toml --set rust.llvm-bitcode-linker=false \ --set build.optimized-compiler-builtins=false # necessary to make cross-doc work for all targets -echo "rust.deny-warnings = true" >> bootstrap.toml +echo "[rust] deny-warnings = true" >> bootstrap.toml targets=( x86_64-unknown-linux-gnu From 1478e4387f803e354a6a8d5bd36d98578d1e3172 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Wed, 31 Dec 2025 15:38:35 +0100 Subject: [PATCH 5/5] be clever --- build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.sh b/build.sh index cb68007..3d3d6a7 100755 --- a/build.sh +++ b/build.sh @@ -19,8 +19,6 @@ rm -f bootstrap.toml --set rust.llvm-bitcode-linker=false \ --set build.optimized-compiler-builtins=false # necessary to make cross-doc work for all targets -echo "[rust] deny-warnings = true" >> bootstrap.toml - targets=( x86_64-unknown-linux-gnu x86_64-pc-windows-msvc @@ -45,7 +43,7 @@ for target in "${targets[@]}"; do --document-hidden-items \ --html-before-content=$root/before.html \ --extend-css=$root/style.css \ - --cap-lints=warn" + --cap-lints=allow" ./x doc library --target "$target" --stage 1