forked from mirrors/gecko-dev
		
	 977d5b8a57
			
		
	
	
		977d5b8a57
		
	
	
	
	
		
			
			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. Differential Revision: https://phabricator.services.mozilla.com/D81963
		
			
				
	
	
	
	
		
			426 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			426 B
		
	
	
	
	
	
	
	
Writing Rust Code
This page explains how to write and work with Rust code in Firefox, with an emphasis on interoperation with C++ code.
The build documentation explains how to add new Rust code to Firefox. The test documentation explains how to test and debug Rust code in Firefox.
.. toctree::
    :titlesonly:
    :maxdepth: 1
    :glob:
    *