Skip to content

Commit 9a365a5

Browse files
committed
dist/azure-generic-build.yml: CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true
This should compile build deps (but not actual runtime deps) with debug info, proving more info if a build script should happen to panic.
1 parent 2636fce commit 9a365a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dist/azure-generic-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ steps:
4747
echo "##vso[task.setvariable variable=CARGO_FEATURES_EXPLICIT;]$fts"
4848
echo "##vso[task.setvariable variable=CARGO_FEATURES_FLAGS;]$ffs"
4949
50-
# OK, this has nothing to do with features, but if a build script fails, it
50+
# OK, these have nothing to do with features, but if a build script fails, it
5151
# can be helpful to get a full backtrace.
5252
echo "##vso[task.setvariable variable=RUST_BACKTRACE;]full"
53+
echo "##vso[task.setvariable variable=CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG;]true"
5354
displayName: Set feature flags
5455
env:
5556
DEFAULT_FEATURES_FLAG: ${{ parameters.defaultFeatures }}

0 commit comments

Comments
 (0)