File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,6 @@ fun Project.registerGenerateCargoConfigTomlTask(outputDir: File) {
286286 // is completed, warnings can be prohibited in rustdoc by setting `rustdocflags` to `-D warnings`.
287287 doFirst {
288288 outputDir.resolve(" .cargo" ).mkdirs()
289- // TODO(MSRV1.82 follow-up): Restore `"--deny", "warnings"` once lints are fixed in the server runtime crates
290289 outputDir.resolve(" .cargo/config.toml" )
291290 .writeText(
292291 """
Original file line number Diff line number Diff line change @@ -206,9 +206,8 @@ ENV PATH=/opt/cargo/bin:$PATH \
206206 RUST_STABLE_VERSION=${rust_stable_version} \
207207 RUST_NIGHTLY_VERSION=${rust_nightly_version} \
208208 CARGO_INCREMENTAL=0 \
209- # TODO(MSRV1.82 follow-up): Restore them once lints are fixed in the server runtime crates
210- # RUSTDOCFLAGS="-D warnings" \
211- # RUSTFLAGS="-D warnings" \
209+ RUSTDOCFLAGS="-D warnings" \
210+ RUSTFLAGS="-D warnings" \
212211 LANG=en_US.UTF-8 \
213212 LC_ALL=en_US.UTF-8
214213# SMITHY_RS_DOCKER_BUILD_IMAGE indicates to build scripts that they are being built inside of the Docker build image.
Original file line number Diff line number Diff line change 3131
3232 echo -e " ## ${C_YELLOW} Running 'cargo doc' on ${runtime_path} ...${C_RESET} "
3333
34- # TODO(MSRV1.82 follow-up): Restore `-Dwarnings` once lints are fixed in aws-smithy-http-server-python:
35- # "error: unexpected `cfg` condition name: `addr_of`"
36- RUSTDOCFLAGS=" --cfg docsrs" cargo +" ${RUST_NIGHTLY_VERSION} " doc --no-deps --document-private-items --all-features
34+ RUSTDOCFLAGS=" --cfg docsrs -Dwarnings" cargo +" ${RUST_NIGHTLY_VERSION} " doc --no-deps --document-private-items --all-features
3735
3836 echo -e " ## ${C_YELLOW} Running 'cargo minimal-versions check' on ${runtime_path} ...${C_RESET} "
3937 # Print out the cargo tree with minimal versions for easier debugging
You can’t perform that action at this time.
0 commit comments