Closed Bug 1648348 Opened 5 years ago Closed 5 years ago

Create Rust/C++ interop docs

Categories

(Core :: General, task)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(3 files)

We have no docs on how to write Rust code in Firefox that interops with C++.

Attachment #9159606 - Attachment description: Bug 1648348 - Add docs about pinning branches to specific revisions. r=froydnj → Bug 1648348 - Some more tweaks to the Rust build docs. r=froydnj

This patch includes content from the following places.

  • Lina's "Getting Rusty: How to ship an XPCOM component in Firefox" slide deck.
  • Zibi's "Rust <--> C/C++ FFI for newbies" gist.

It also links to Emilio's "FFI patterns #1 - Complex Rust data structures
exposed seamlessly to C++" blog post. I was going to include that content, but
it's very long, so I have omitted it for now.

Depends on D81962

Pushed by nnethercote@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/60959483fc30 Some more tweaks to the Rust build docs. r=froydnj https://hg.mozilla.org/integration/autoland/rev/085e059f38a5 Fix formatting errors in the prefs parser's rustdocs. r=froydnj https://hg.mozilla.org/integration/autoland/rev/2043004d75a4 Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: