Closed Bug 1466475 Opened Last year Closed Last year

Bogus pointers materialized by mozilla::Span should be aligned

Categories

(Core :: MFBT, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

Details

Attachments

(1 file)

See https://github.com/rust-lang/rust/pull/51134/files

Rust now wants bogus pointers in zero-length slices to be aligned.
Comment on attachment 8983014 [details]
Bug 1466475 - Make mozilla::Span produce aligned bogus pointers per new Rust rules.

https://reviewboard.mozilla.org/r/248872/#review255006

What a requirement.
Attachment #8983014 - Flags: review?(nfroyd) → review+
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7910d46af606
Make mozilla::Span produce aligned bogus pointers per new Rust rules. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/7910d46af606
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.