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) {
286
286
// is completed, warnings can be prohibited in rustdoc by setting `rustdocflags` to `-D warnings`.
287
287
doFirst {
288
288
outputDir.resolve(" .cargo" ).mkdirs()
289
- // TODO(MSRV1.82 follow-up): Restore `"--deny", "warnings"` once lints are fixed in the server runtime crates
290
289
outputDir.resolve(" .cargo/config.toml" )
291
290
.writeText(
292
291
"""
Original file line number Diff line number Diff line change @@ -206,9 +206,8 @@ ENV PATH=/opt/cargo/bin:$PATH \
206
206
RUST_STABLE_VERSION=${rust_stable_version} \
207
207
RUST_NIGHTLY_VERSION=${rust_nightly_version} \
208
208
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" \
212
211
LANG=en_US.UTF-8 \
213
212
LC_ALL=en_US.UTF-8
214
213
# 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 31
31
32
32
echo -e " ## ${C_YELLOW} Running 'cargo doc' on ${runtime_path} ...${C_RESET} "
33
33
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
37
35
38
36
echo -e " ## ${C_YELLOW} Running 'cargo minimal-versions check' on ${runtime_path} ...${C_RESET} "
39
37
# Print out the cargo tree with minimal versions for easier debugging
You can’t perform that action at this time.
0 commit comments