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 upProfile: removed opts::get() #23521
Profile: removed opts::get() #23521
Conversation
highfive
commented
Jun 6, 2019
|
Heads up! This PR modifies the following files:
|
|
r? @jdm |
|
Some unit tests in tests/unit/profile/time.rs need to be updated as well. This can be tested with |
6c7945e
to
f29ae9d
|
@jdm I fixed the unit tests, but appveyor fails to build. I guess it has to do something with cygwin's persistent shared memory. Do you think build restart/retry will help? |
|
PS. I did not touch the single opts::get() in components/profile_traits because it's used by |
|
Agreed, that will require some thought. |
|
|
Profile: removed opts::get() <!-- Please describe your changes on the following line: --> Removed opts::get() from `profile` component. **Note** that `profile_traits` component is the only component that uses single `opts::get().signpost` for IpcBytesReceiver and IpcReceiver structs, i.e. for recv() type method. --- <!-- 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 *partially* #22854 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because these are cleanup changes. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/23521) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
Profile: removed opts::get() <!-- Please describe your changes on the following line: --> Removed opts::get() from `profile` component. **Note** that `profile_traits` component is the only component that uses single `opts::get().signpost` for IpcBytesReceiver and IpcReceiver structs, i.e. for recv() type method. --- <!-- 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 *partially* #22854 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because these are cleanup changes. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/23521) <!-- Reviewable:end -->
|
|
oneturkmen commentedJun 6, 2019
•
edited by SimonSapin
Removed opts::get() from
profilecomponent. Note thatprofile_traitscomponent is the only component that uses singleopts::get().signpostfor IpcBytesReceiver and IpcReceiver structs, i.e. for recv() type method../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is