Closed Bug 1528035 Opened 5 years ago Closed 5 years ago

Improve derive(Parse).

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

I want to do this so that I can get rid of Either<>. The reasons for getting rid
of either is multiple:

  • It doesn't generate as nice C++ code using cbindgen.
  • It isn't that nice to use either from Rust.
  • cbindgen has bugs with zero-sized types.

I started using this for ColorOrAuto and a few others, for now.

Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/7d4f1afbf5f2
Improve #[derive(Parse)]. r=xidorn
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: