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 upRun on Rust stable #151
Run on Rust stable #151
Conversation
|
Don’t be deterred by the +2,936 lines diff stat, 2,497 of those are |
|
@SimonSapin: I'm wondering, is #112 still active? Will html5ever move to aster in future? |
|
I made this close #112, as #112 (comment) indicates that the motivation was stable Rust. |
This comment has been minimized.
This comment has been minimized.
|
(commit reviewed) |
|
Reviewed 8 of 8 files at r1. Comments from the review on Reviewable.io |
|
Reviewed 7 of 7 files at r2. Comments from the review on Reviewable.io |
|
Reviewed 1 of 1 files at r3, 5 of 6 files at r4. Comments from the review on Reviewable.io |
|
Reviewed 1 of 6 files at r4. Comments from the review on Reviewable.io |
|
Reviewed 1 of 1 files at r5, 9 of 9 files at r6, 18 of 18 files at r7. Comments from the review on Reviewable.io |
|
Reviewed 6 of 6 files at r8, 2 of 2 files at r9, 2 of 2 files at r10, 6 of 6 files at r11, 1 of 1 files at r12, 3 of 3 files at r13, 1 of 1 files at r14. examples/noop-tokenize.rs, line 29 [r11] (raw file): examples/print-tree-actions.rs, line 126 [r11] (raw file): macros/src/pre_expand.rs, line 48 [r14] (raw file): tests/tokenizer.rs, line 425 [r9] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. examples/noop-tokenize.rs, line 29 [r11] (raw file): examples/print-tree-actions.rs, line 126 [r11] (raw file): macros/src/pre_expand.rs, line 48 [r14] (raw file): tests/tokenizer.rs, line 426 [r9] (raw file): So, with 70e3039 we have one test harness instance that finds a single test that happens to be called
Maybe we’re better off reverting to using Comments from the review on Reviewable.io |
|
Reviewed 2 of 2 files at r15, 1 of 1 files at r16. Comments from the review on Reviewable.io |
When the "unstable" Cargo feature is given, html5ever’s build script will use html5ever_macros as a library to generate or update src/tree_builder/rules.expanded.rs, which is part of the source tree. (This feature also enables the corresponding features of tendril and string-cache.) html5ever_macros is not a plugin anymore, but it still uses libsyntax and still behaves a lot like a syntax extension. When "unstable" is *not* given, the build script checks that rules.expanded.rs is up to date (based on a hash of rules.rs) and fails if it’s not.
owned_dom was an interesting experiment, but there is no use for it.
... even though tokenizer and tree builder test are disabled as they are created dynamically using internals of the `test` crate.
|
@bors-servo r=Manishearth |
|
|
Run on Rust stable When the "unstable" Cargo feature is given, html5ever’s build script will use html5ever_macros as a library to generate or update `src/tree_builder/rules.expanded.rs`, which is part of the source tree. (This feature also enables the corresponding features of tendril and string-cache.) html5ever_macros is not a plugin anymore, but it still uses libsyntax and still behaves a lot like a syntax extension. When "unstable" is *not* given, the build script checks that rules.expanded.rs is up to date (based on a hash of rules.rs) and fails if it’s not. Tests also run on stable Rust on Travis-CI, but unfortunately most of them are disabled as they dynamically generated using internals of the `test` crate. r? @Manishearth Fixes #53 Closes #151 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/151) <!-- Reviewable:end -->
|
|
SimonSapin commentedJul 27, 2015
When the "unstable" Cargo feature is given, html5ever’s build script will use html5ever_macros as a library to generate or update
src/tree_builder/rules.expanded.rs, which is part of the source tree.(This feature also enables the corresponding features of tendril and string-cache.)
html5ever_macros is not a plugin anymore, but it still uses libsyntax and still behaves a lot like a syntax extension.
When "unstable" is not given, the build script checks that rules.expanded.rs is up to date (based on a hash of rules.rs) and fails if it’s not.
Tests also run on stable Rust on Travis-CI, but unfortunately most of them are disabled as they dynamically generated using internals of the
testcrate.r? @Manishearth
Fixes #53
Closes #151