Repository navigation
Assorted cleanups in gfx and layout - #2682
Merged
Merged
Conversation
|
Critic review: https://critic.hoppipolla.co.uk/r/1859 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
Contributor
There was a problem hiding this comment.
Can you change this to:
let is_whitespace_only = fragment.is_whitespace_only();
if is_whitespace_only {
...debug...
}
is_whitespace_only
Contributor
Author
There was a problem hiding this comment.
Oh that is nicer. Should I rebase, or will that mess things up?
Contributor
|
Looks fine modulo one nit. r=me |
Contributor
Author
|
@pcwalton cleanup done! |
larsbergstrom
added a commit
that referenced
this pull request
Jun 21, 2014
Assorted cleanups in gfx and layout
jschwe
added a commit
to jschwe/servo
that referenced
this pull request
Jun 17, 2024
* Don't prefix PATH with android toolchain: This is problematic, since it can cause Rust to select the NDK toolchain as a linker when compiling for the HOST target (e.g. compiling build-scripts). * Prefix target compiler and compiler flags variables with `TARGET_` so as not to influence compilation for HOST targets. * SET `CLANG_PATH` to avoid [bindgen servo#2682] [bindgen servo#2682]: rust-lang/rust-bindgen#2682 Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
added a commit
to jschwe/servo
that referenced
this pull request
Jun 17, 2024
* Postfix PATH with android toolchain: We only need to edit path for the linker specified in the `.cargo/config.toml` to be found. Adding the NDK clang to the end of PATH is sufficient for that. Adding the NDK clang to the front can cause problems however, since it causes the NDK `clang` to be preferred over the system clang. This can cause problems on some systems, where compiling e.g. buildscripts for HOST subsequently fails. * Prefix target compiler and compiler flags variables with `TARGET_` so as not to influence compilation for HOST targets. * SET `CLANG_PATH` to avoid [bindgen servo#2682] [bindgen servo#2682]: rust-lang/rust-bindgen#2682 Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
added a commit
to jschwe/servo
that referenced
this pull request
Jun 17, 2024
* Postfix PATH with android toolchain: We only need to edit path for the linker specified in the `.cargo/config.toml` to be found. Adding the NDK clang to the end of PATH is sufficient for that. Adding the NDK clang to the front can cause problems however, since it causes the NDK `clang` to be preferred over the system clang. This can cause problems on some systems, where compiling e.g. buildscripts for HOST subsequently fails. * Prefix target compiler and compiler flags variables with `TARGET_` so as not to influence compilation for HOST targets. * SET `CLANG_PATH` to avoid [bindgen servo#2682] [bindgen servo#2682]: rust-lang/rust-bindgen#2682 Signed-off-by: Jonathan Schwender <[email protected]>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Jun 18, 2024
* Postfix PATH with android toolchain: We only need to edit path for the linker specified in the `.cargo/config.toml` to be found. Adding the NDK clang to the end of PATH is sufficient for that. Adding the NDK clang to the front can cause problems however, since it causes the NDK `clang` to be preferred over the system clang. This can cause problems on some systems, where compiling e.g. buildscripts for HOST subsequently fails. * Prefix target compiler and compiler flags variables with `TARGET_` so as not to influence compilation for HOST targets. * SET `CLANG_PATH` to avoid [bindgen #2682] [bindgen #2682]: rust-lang/rust-bindgen#2682 Signed-off-by: Jonathan Schwender <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@pcwalton r?