Closed Bug 1836928 Opened 1 years ago Closed 1 years ago

Change some references to raw pointers in some FFI functions.

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox115 fixed, firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox115 --- fixed
firefox116 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

Even tho https://github.com/rust-lang/rust/issues/112337 is IMO a rust
bug, it's easy to work around in our code and it doesn't really affect
expressiveness.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ba8c894161d Change some references to raw pointers in some FFI functions. r=glandium
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

Does this need backporting like the other Rust 1.70 fixes?

Flags: needinfo?(emilio)

Comment on attachment 9337630 [details]
Bug 1836928 - Change some references to raw pointers in some FFI functions. r=glandium

Beta/Release Uplift Approval Request

  • User impact if declined: Rust 1.70 could misoptimize some code.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial tweak.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9337630 - Flags: approval-mozilla-beta?

Comment on attachment 9337630 [details]
Bug 1836928 - Change some references to raw pointers in some FFI functions. r=glandium

Approved for 115.0b3.

Attachment #9337630 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

We should get that on esr too. As well as release if 114.0.1 is on the table.

Flags: needinfo?(emilio)

Comment on attachment 9337630 [details]
Bug 1836928 - Change some references to raw pointers in some FFI functions. r=glandium

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: prevents issues with newer llvm versions.
  • User impact if declined:
  • Fix Landed on Version: 115
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial change to FFI function definition.
Flags: needinfo?(emilio)
Attachment #9337630 - Flags: approval-mozilla-release?
Attachment #9337630 - Flags: approval-mozilla-esr102?

:emilio this has merge conflicts with esr102 caused by Bug 1832173

It also has merge conflict for mozilla-release, emilio do we need to uplift with bug 1836723 & bug 1836883 or can I uplift them without this bug. Thanks.

Flags: needinfo?(emilio)

Comment on attachment 9337630 [details]
Bug 1836928 - Change some references to raw pointers in some FFI functions. r=glandium

Yeah, actually I guess this is not really worth uplifting with all those other changes, it's quite a big patch set...

Flags: needinfo?(emilio)
Attachment #9337630 - Flags: approval-mozilla-release?
Attachment #9337630 - Flags: approval-mozilla-esr102?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: