Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 1ad733c5c4 Bug 1474871 - Link dump_syms against rustc-demangle. r=ted
The new version of breakpad imported in bug 1309172 doesn't demangle
rust symbols at all, contrary to before, where it tried to C++ demangle
them, which worked for many, although far from all. It however has
rust-demangle support as long as it's linked against a copy of the
rust-demangle-capi crate from https://github.com/luser/rust-demangle-capi/

This imports the code from the rust-demangle-capi crate but because of
some build system complications it's not taken as-is:
- it uses rusty-cheddar, which is deprecated, to generate a C header.
- rusty-cheddar depends on syntex_syntax, which now fails to build.
- rust-demangle-capi has crate-type staticlib, which can't be used
  as a dependency in a Cargo.toml. For that reason, we can't create
  a fake crate that depends on it to have it vendored.

Overall, it's only a few lines of rust, and the C header can be written
manually, so this is what we do here. The created crate is named in a way
specific to dump_syms.

The build system doesn't know how to figure out what system libraries
are required to link rust static libraries, although the rust compiler
has /some/ support to get the information, so we handle that manually.

--HG--
extra : rebase_source : 9f5a9bfe2148d3040e11c7121a88e85a7f2d5c53
2018-07-12 10:23:12 +09:00
Kartikaya Gupta 1abf868484 Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro
MozReview-Commit-ID: 6xBQ69vttXr

--HG--
extra : rebase_source : f6058f097c3c1fcbd33f42d8e625058f0c77cb10
2018-06-21 08:15:40 -04:00
Kartikaya Gupta 29f53043e5 Bug 1463416 - Update lockfiles and re-vendor rust dependencies. r=Gankro
This includes the necessary changes for the serde replacement upgrade from
WR PR 2777 as well.

MozReview-Commit-ID: 6Q7Wjer1JHS

--HG--
extra : rebase_source : 1df561ecb5503c1cece033a959e8a7182a185072
2018-05-26 11:09:21 -04:00
Kartikaya Gupta 576ecda078 Bug 1452603 - Update Cargo stuff for the serde bump. r=jrmuizel
MozReview-Commit-ID: HDxOYbIXcIN

--HG--
extra : rebase_source : 5e3fa7d72735b0e9c8adc4de552a637b35f368be
2018-04-12 11:05:18 -04:00
David Teller 7160366b8c Bug 1437004 - Vendored Rust dependencies;r=froydnj
MozReview-Commit-ID: Grf1bKIx2iT

--HG--
extra : rebase_source : 8013a66263a3a014944b0815ff9bc7d8ac0ad9a3
2018-04-04 14:14:26 +02:00
Kartikaya Gupta 292a1604f7 Bug 1447998 - Update serde patching to go with WR PR 2577. r=jrmuizel
MozReview-Commit-ID: FIoM86Ok8zP

--HG--
extra : rebase_source : 29dd89e752455d4a2e7942c191819fb3e8f982c7
2018-03-28 09:11:53 -04:00
Nathan Froyd 84c5746150 Bug 1444174 - point people away from Cargo.toml for opt-level settings of Rust code; r=nalexander
For people who don't know how our Rust opt-level setup works--or for
people who did know and repeatedly forget--it would be good to have some
documentation in Cargo.toml pointing at the correct place.
2018-03-09 09:31:17 -05:00
Kartikaya Gupta 26e22999aa Bug 1443168 - Exclude gfx/wrench from the mozilla-central workspace. r=mbrubeck
MozReview-Commit-ID: CWZjptDcwLW

--HG--
extra : rebase_source : b3826ed05dd82b8fd40ac3f1c02986f6380f0842
2018-03-05 10:57:05 -05:00
Matt Brubeck be08cdcdc1 Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : source : bbae7807c164273f6bb123d680a4fc31202d7a61
extra : amend_source : 53505e25f63a8eb228e62a0a9f3bd3ed98950296
extra : histedit_source : 597464181d4b79f5ac1a511d23e2a05aefb266da%2C63b89f3699e0e9598c8355e7293f10795acc80e7
2018-03-01 14:33:35 -08:00
shindli 0ba01aed1b Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE
Backed out changeset 3bc1743ad418 (bug 1381576)
Backed out changeset bbae7807c164 (bug 1381576)
Backed out changeset 1ea18b70b170 (bug 1381576)
2018-03-02 21:17:20 +02:00
Matt Brubeck c94fb26dea Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : rebase_source : 75fae593e8765ec5b1e616d10eda0bc52f1f7194
extra : histedit_source : 21b38586bcc4576fce5eadff9a3c77ccf5e21341
2018-03-01 14:33:35 -08:00