Enable debug assertions for all builds other than official releases#30509
Enable debug assertions for all builds other than official releases#30509delan merged 29 commits intoservo:masterfrom
Conversation
|
@bors-servo try |
|
🔨 Triggering try run (#6430688359) with platform=all and layout=all |
|
Test results for linux-wpt-layout-2013 from try job (#6430688359): Flaky unexpected result (13)
Stable unexpected results that are known to be intermittent (16)
|
|
Test results for linux-wpt-layout-2020 from try job (#6430688359): Flaky unexpected result (16)
Stable unexpected results that are known to be intermittent (17)
|
|
@delan I believe try jobs use the CI configuration from master and not the PR, so you might have to run the job on your fork for testing. |
|
✨ Try run (#6430688359) succeeded. |
|
Test builds for c5998d9: |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
1 similar comment
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
ccea918 to
6f1db35
Compare
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
Great catch @mukilan, that would have broken the nightly release build. |
Servo should ideally never panic (see the discussion in #30458), but we still need a way to detect invalid states when hacking on Servo or testing on CI. Unfortunately our release profile has debug assertions disabled.
This patch enables debug assertions in the release profile, while adding a “production” profile that yields a release build without debug assertions, which we use when building nightly releases. This patch also:
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors