Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFragment debug_id u16 only exists in debug, prod will format mem address #11442
Conversation
highfive
commented
May 26, 2016
|
CI is mad right out-of-the-gate :( |
highfive
commented
May 27, 2016
|
New code was committed to pull request. |
|
Merged master to make CI go again (Appveyor had failed immediately for the first commit) |
|
If appveyor shows a build error unrelated to your changes, it's not a big deal. |
|
|
||
| #[cfg(debug_assertions)] | ||
| #[derive(Clone)] | ||
| struct DebugId { |
This comment has been minimized.
This comment has been minimized.
highfive
commented
May 31, 2016
|
New code was committed to pull request. |
|
I also made the |
|
@bors-servo r+ Thanks! |
|
|
Fragment debug_id u16 only exists in debug, prod will format mem address <!-- Please describe your changes on the following line: --> Each fragment has a `u16` `debug_id` in debug mode, but no `debug_id` in production to save memory. To format a debug id in production, the address of the empty `debug_id` is displayed. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #87 (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because it looks like it's not possible to mock out `cfg` options in `#[test]`s <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11442) <!-- Reviewable:end -->
|
|
|
Fails compiling release:
|
highfive
commented
Jun 1, 2016
|
New code was committed to pull request. |
|
Ah, you do
|
highfive
commented
Jun 4, 2016
|
New code was committed to pull request. |
|
Okay. I think I've got this covered. I've:
I don't know what else I can do other than run all tests locally, which will take a little too long. So, I'm pretty confident that it should pass CI now |
|
Fails tidy:
|
|
I must've made a mistake on my git add, agh. Handling this outside my ide (for amends) is throwing me off |
highfive
commented
Jun 4, 2016
|
New code was committed to pull request. |
|
@bors-servo r+ |
|
|
Fragment debug_id u16 only exists in debug, prod will format mem address <!-- Please describe your changes on the following line: --> Each fragment has a `u16` `debug_id` in debug mode, but no `debug_id` in production to save memory. To format a debug id in production, the address of the empty `debug_id` is displayed. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #87 (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because it looks like it's not possible to mock out `cfg` options in `#[test]`s <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11442) <!-- Reviewable:end -->
|
|
|
I don't think that the failing build is due to my changes:
|
|
@bors-servo retry
|
Fragment debug_id u16 only exists in debug, prod will format mem address <!-- Please describe your changes on the following line: --> Each fragment has a `u16` `debug_id` in debug mode, but no `debug_id` in production to save memory. To format a debug id in production, the address of the empty `debug_id` is displayed. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #87 (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because it looks like it's not possible to mock out `cfg` options in `#[test]`s <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11442) <!-- Reviewable:end -->
|
|
mitchhentges commentedMay 26, 2016
•
edited by jdm
Each fragment has a
u16debug_idin debug mode, but nodebug_idin production to save memory. To format a debug id in production, the address of the emptydebug_idis displayed../mach build -ddoes not report any errors./mach test-tidydoes not report any errorscfgoptions in#[test]sThis change is