Closed
Bug 1478330
Opened 6 years ago
Closed 6 years ago
Add infrastructure to generate enums from the rust definition instead of duplicating code.
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
Going to need this to make appearance not suck.
Assignee | ||
Comment 1•6 years ago
|
||
We use the same setup WR uses, which is checking-in the files.
But I think it's much better than keeping the two things in sync manually :)
When you add a new value, you need to add it to the rust source, then run the
command, but since it doesn't need to build the style crate (it uses the Rust
AST, doesn't build) there's no problem.
Comment 2•6 years ago
|
||
Comment on attachment 8994807 [details]
Bug 1478330: Generate StyleDisplay using cbindgen. r=xidorn,heycam
Cameron McCormack (:heycam) has approved the revision.
https://phabricator.services.mozilla.com/D2354
Attachment #8994807 -
Flags: review+
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/mozilla-inbound/rev/230ea1f373ff
Generate StyleDisplay using cbindgen. r=heycam
Comment 4•6 years ago
|
||
Backed out changeset 230ea1f373ff (Bug 1478330) for Linting failure on a CLOSED TREE
Failure: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&fromchange=4e08eb5f94e73e34f331f8dce08f77e9953d525a&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-classifiedState=unclassified&selectedJob=190272675
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=190272675&repo=mozilla-inbound&lineNumber=110
[vcs 2018-07-26T13:39:19.117Z] transferred 2.42 GB in 77.7 seconds (31.9 MB/sec)
[vcs 2018-07-26T13:39:19.892Z] finished applying clone bundle
[vcs 2018-07-26T13:39:20.349Z] searching for changes
[vcs 2018-07-26T13:39:34.064Z] unhandled URLError; reason type: str; value: Internal Server ErrorPERFHERDER_DATA: {"framework": {"name": "vcs"}, "suites": [{"extraOptions": ["c3.xlarge"], "lowerIsBetter": true, "name": "clone_errored", "shouldAlert": false, "subtests": [], "value": 93.39171290397644}, {"extraOptions": ["c3.xlarge"], "lowerIsBetter": true, "name": "overall", "shouldAlert": false, "subtests": [], "value": 93.89301300048828}]}
[vcs 2018-07-26T13:39:34.064Z] abort: HTTP Error 500: Internal Server Error
[taskcluster 2018-07-26 13:39:36.140Z] === Task Finished ===
[taskcluster 2018-07-26 13:39:36.221Z] Artifact "public" not found at "/builds/worker/artifacts"
[taskcluster 2018-07-26 13:39:36.915Z] Unsuccessful task run with exit code: 255 completed in 131.302 seconds
Flags: needinfo?(emilio)
Backout by shindli@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c17688bd7bfe
Backed out changeset 230ea1f373ff for Linting failure on a CLOSED TREE
Assignee | ||
Comment 6•6 years ago
|
||
That failure is not related to this patch. Looks like a server error.
Flags: needinfo?(emilio)
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b1c6659a5f5
Generate StyleDisplay using cbindgen. r=heycam
Comment 8•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•