gecko-dev/python
Nathan Froyd 82c6f5d7a7 Bug 1163224 - add build system support for multiple Rust crates; r=glandium
Our current build system support for Rust compiles any Rust crate into a
so-called staticlib, which is a static library (.a file) that includes
the Rust runtime. That staticlib is then linked into libxul. For
supporting multiple crates, this approach breaks down, as linking
multiple copies of the Rust runtime is going to fail.

For supporting multiple crates, the approach taken here is to compile
each crate into a so-called rlib, which is essentially a staticlib
without the Rust runtime linked in. The build system takes note of
every crate destined for linking with libxul (treating them like static
libraries generated from C/C++ files), and generates a super-crate,
whimsically named "rul", that is compiled as a staticlib (so as to
include the Rust runtime) and then linked into libxul. Thus only one
copy of the Rust runtime is included, and the Rust compiler can take
care of any inter-crate dependencies.

This patch currently only supports Rust code in shared libraries, not in
binaries.
2016-04-21 09:54:01 -04:00
..
PyECC bug 1190603 - import PyECC library r=gps,gerv 2015-08-03 15:17:00 -07:00
bitstring
blessings
compare-locales Backed out changeset a87a27864bb8 (bug 1223385) 2016-01-15 13:51:54 +01:00
configobj
eme Bug 1139125 - Add Windows 64-bit support and certificate chain support to Adobe EME voucher tool. r=ted 2015-05-15 15:26:52 +12:00
futures bug 1164816 - Import concurrent.futures into the tree. r=gps 2015-05-12 14:52:06 -04:00
jsmin
lldbutils Bug 1235261 - Part 4: Remove AutoFallibleTArray. r=froydnj 2016-02-02 17:36:30 +02:00
mach Bug 1255450 - mach settings documentation fix, DONTBUILD, r=me 2016-04-12 21:03:36 -04:00
mock-1.0.0
mozboot Bug 1260749 - quiet unpacking of Android SDK and NDK downloads; r=nalexander 2016-03-30 10:46:14 -04:00
mozbuild Bug 1163224 - add build system support for multiple Rust crates; r=glandium 2016-04-21 09:54:01 -04:00
mozversioncontrol/mozversioncontrol Bug 1225599 - Pull Mercurial repos with common 3rd party extensions disabled; r=dminor 2015-12-15 10:47:33 -08:00
psutil Bug 1196253 - update in-tree psutil to 3.1.1. r=gps 2015-08-20 08:03:31 -04:00
pyasn1
pyasn1-modules bug 1166976 - add pyasn1-modules python library r=ted,gerv 2015-05-20 16:33:23 -07:00
pystache
pyyaml
redo
requests Bug 1247994 - Upgrade vendored requests package to 2.9.1; r=mshal 2016-02-12 10:03:53 -08:00
rsa bug 1166976 - add Python-RSA python library r=ted,gerv 2015-05-20 16:34:03 -07:00
slugid Bug 1194767 - use slugid 1.0.6 in ./mach taskcluster-graph command. r=wcosta 2015-09-04 17:59:34 +02:00
virtualenv Bug 1259551 - Upgrade vendored virtualenv to 15.0.1; r=ted 2016-03-24 12:21:55 -07:00
which
README
mach_commands.py Bug 1261412 - Add mach python-test option to collect tests based on path alone; r=gps 2016-04-18 10:21:56 -04:00
moz.build Bug 1260327 - Expose a MOZ_CONFIGURE_OPTIONS variable containing configure options. r=chmanchester 2016-04-15 08:14:05 +09:00

README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243

## pyyaml | pystache

Used in taskcluster related mach commands to update download from github
and remove .git and tests.

Then run tests in taskcluster/tests/