diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-19 02:32:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-19 02:32:00 -0600 |
commit | 1e42e4d9cec1a46a0a3009095c6030425c0a8845 (patch) | |
tree | 2cc8ea61dbeba1d8a06824fb3b122acee4853eb2 /components/script/dom/client.rs | |
parent | 9c6f6ebf3e789c251f34d865a4a713988ba81cdb (diff) | |
parent | 263278a4dcc95403625d19dc75bdd969008fd7bf (diff) | |
download | servo-1e42e4d9cec1a46a0a3009095c6030425c0a8845.tar.gz servo-1e42e4d9cec1a46a0a3009095c6030425c0a8845.zip |
Auto merge of #14272 - connorimes:fix-energy-profiling-feature, r=Manishearth
Fix energy profiling feature
<!-- Please describe your changes on the following line: -->
The `energy-profiling` feature was broken at some point when `#![deny(unsafe_code)]` was introduced to the `profile_traits` component. This PR sets `#[allow(unsafe_code)]` on the `energy` module.
There is an additional commit (my original intention) to update the profiler logging to use the current `ProfilerCategory` enum values for (typically developer-only) performance/power analysis.
---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it fixes is a compile error for a feature.
<!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14272)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/client.rs')
0 files changed, 0 insertions, 0 deletions