50 Commits

Author SHA1 Message Date
Nipun Shukla
b3eba1dc18 Bug 1881567 - Added Rust application to read and launch Firefox upon receiving native messages r=mhughes,nrishel,glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D202467
2024-03-13 19:01:05 +00:00
Norisz Fay
81e68bade9 Backed out 10 changesets (bug 1759175) for causing Bp build bustage CLOSED TREE
Backed out changeset 3caff3bcb5f3 (bug 1759175)
Backed out changeset b0cbac1ae1c0 (bug 1759175)
Backed out changeset 8ab327d18125 (bug 1759175)
Backed out changeset 94b619f7ae5a (bug 1759175)
Backed out changeset 4e16215b14af (bug 1759175)
Backed out changeset e994c818703c (bug 1759175)
Backed out changeset caf59b01fb96 (bug 1759175)
Backed out changeset 4a525dace3cf (bug 1759175)
Backed out changeset ac608a17d8c7 (bug 1759175)
Backed out changeset 2e605dcdcf83 (bug 1759175)
2024-03-08 02:08:29 +02:00
Alex Franchuk
07a835d684 Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-07 20:59:12 +00:00
Norisz Fay
d8bbf7786d Backed out 10 changesets (bug 1759175) for causing build bustage CLOSED TREE
Backed out changeset 3f7b865cce56 (bug 1759175)
Backed out changeset 3ce2c92bdee2 (bug 1759175)
Backed out changeset e8b6ce00b503 (bug 1759175)
Backed out changeset 6736f34d5642 (bug 1759175)
Backed out changeset 5894c03ccb0e (bug 1759175)
Backed out changeset 28ee74b69b66 (bug 1759175)
Backed out changeset 027be772e29a (bug 1759175)
Backed out changeset 35350f3c3b68 (bug 1759175)
Backed out changeset 754fe9369002 (bug 1759175)
Backed out changeset f2aa40301a39 (bug 1759175)
2024-03-07 22:44:32 +02:00
Alex Franchuk
d8fb619e98 Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-07 19:47:08 +00:00
Narcis Beleuzu
6e67a7e84c Backed out 10 changesets (bug 1759175) for build bustages . CLOSED TREE
Backed out changeset dce52d34bd91 (bug 1759175)
Backed out changeset 51ee5a685214 (bug 1759175)
Backed out changeset 021559ebc1e7 (bug 1759175)
Backed out changeset 6888a063a0c3 (bug 1759175)
Backed out changeset 84b443488fb5 (bug 1759175)
Backed out changeset f39525560fd6 (bug 1759175)
Backed out changeset 6b0d3b266dea (bug 1759175)
Backed out changeset 5d33c3516218 (bug 1759175)
Backed out changeset b50fd0148c7f (bug 1759175)
Backed out changeset 7cb85f06517a (bug 1759175)
2024-03-07 18:16:59 +02:00
Alex Franchuk
5390c33a4e Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-07 14:03:53 +00:00
Cristina Horotan
f3c06c8f30 Backed out 10 changesets (bug 1759175) for causing build bustages cocoabind related. CLOSED TREE
Backed out changeset 3d8279b62b0e (bug 1759175)
Backed out changeset fa1545689826 (bug 1759175)
Backed out changeset 00b28a515e8d (bug 1759175)
Backed out changeset 40dfe0d499df (bug 1759175)
Backed out changeset acde6c99092c (bug 1759175)
Backed out changeset e6d83c21eadc (bug 1759175)
Backed out changeset b34e196120aa (bug 1759175)
Backed out changeset 45a2a256b9d4 (bug 1759175)
Backed out changeset 4aba1755a610 (bug 1759175)
Backed out changeset 68d2d1abab21 (bug 1759175)
2024-02-26 23:35:36 +02:00
Alex Franchuk
4cc22c966e Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-02-26 19:12:33 +00:00
Alex Franchuk
d0787ae640 Bug 1875097 - Port the mozwer-rust crate to windows-sys r=gsvelto,glandium
This exchanges `winapi` functions/types for equivalent `windows-sys` ones. Some basic types (e.g.
`PBOOL`) don't exist in `windows-sys`, and I added `type` items for them (though those could be
removed and the types inlined; that's what `windows-sys` does itself).

The `psapi` library needed to be added for GetModuleFileNameExW; I guess previously `winapi` was
linking it?

Almost all manual definitions of types (`winapi::ENUM!` and `winapi::STRUCT!`) were no longer needed
because `windows-sys` has them. Only the version of `RTL_USER_PROCESS_PARAMETERS` with undocumented
fields was still needed.

Differential Revision: https://phabricator.services.mozilla.com/D199111
2024-01-29 19:19:45 +00:00
Mike Hommey
f3e6713bec Bug 1876386 - Update workspace hack to windows-sys 0.52. r=firefox-build-system-reviewers,ahochheiden
After bug 1876372, tokio is the last user of windows-sys 0.48, so we
don't really need to account for window-sys 0.48 in the workspace hack
anymore. We do however need to account for windows-sys 0.52.

Differential Revision: https://phabricator.services.mozilla.com/D199582
2024-01-26 00:08:29 +00:00
Mike Hommey
87f9414fa0 Bug 1874998 - Update tempfile to 3.9.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198761
2024-01-23 23:54:36 +00:00
Mike Hommey
3075ad0c99 Bug 1874809 - Upgrade windows-sys to 0.52. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D198653
2024-01-23 22:54:10 +00:00
Mike Hommey
0b31eb4df3 Bug 1866931 - Add windows-sys to the rust workspace hack. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194831
2023-11-30 07:31:38 +00:00
Mike Hommey
2c5b1d870b Bug 1866928 - Enable the parallel feature in the cc crate. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194829
2023-11-30 07:31:37 +00:00
Andreas Pehrson
6bb8230ea7 Bug 1670633 - Update bindgen to 0.69.1 and coreaudio-sys to 0.2.14. r=supply-chain-reviewers,glandium
This sets the stage for an update to cubeb-coreaudio-rs.

Differential Revision: https://phabricator.services.mozilla.com/D193899
2023-11-24 11:33:56 +00:00
Cristian Tuns
b54e9ee57c Backed out 3 changesets (bug 1670633, bug 1866014) for causing build bustages in MediaEngineWebRTCAudio.cpp CLOSED TREE
Backed out changeset c0d256e9cde9 (bug 1866014)
Backed out changeset e7d101bd73d9 (bug 1670633)
Backed out changeset a849a8e4bd37 (bug 1670633)
2023-11-24 06:18:42 -05:00
Andreas Pehrson
e94273f845 Bug 1670633 - Update bindgen to 0.69.1 and coreaudio-sys to 0.2.14. r=supply-chain-reviewers,glandium
This sets the stage for an update to cubeb-coreaudio-rs.

Differential Revision: https://phabricator.services.mozilla.com/D193899
2023-11-24 08:22:32 +00:00
Stanca Serban
41f7486e5f Backed out 2 changesets (bug 1670633) as requested for causing Bug 1866014. CLOSED TREE
Backed out changeset be8e9a8eaa80 (bug 1670633)
Backed out changeset bace8b9c91dc (bug 1670633)
2023-11-23 20:03:07 +02:00
Andreas Pehrson
cb07191302 Bug 1670633 - Update bindgen to 0.69.1 and coreaudio-sys to 0.2.14. r=supply-chain-reviewers,glandium
This sets the stage for an update to cubeb-coreaudio-rs.

Differential Revision: https://phabricator.services.mozilla.com/D193899
2023-11-21 08:03:45 +00:00
Mike Hommey
6813086faf Bug 1863628 - Refresh rust workspace hack. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192994
2023-11-09 00:02:41 +00:00
Mike Hommey
83f4904aca Bug 1855631 - Upgrade bindgen to 0.68.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189457
2023-09-29 00:06:10 +00:00
Mike Hommey
eb6bdd90e5 Bug 1835053 - Remove syn v1 from the workspace-hack. r=firefox-build-system-reviewers,ahochheiden
It's the last crate with a remaining dependency on syn v1. The
transition is over.

Differential Revision: https://phabricator.services.mozilla.com/D184999
2023-08-02 00:25:47 +00:00
Mike Hommey
9a7fee58bc Bug 1841150 - Adjust the rust workspace hack for syn dependencies. r=firefox-build-system-reviewers,ahochheiden
The ipcclientcerts-static and osclientcerts-static features are missing a
dependency upon syn (both pull syn via bindgen, so need the unified
dependency), which means all the features depend on syn, so make it
non-optional and remove the manual dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D182512
2023-07-10 20:45:19 +00:00
Mike Hommey
d8456fd716 Bug 1836230 - Update bindgen to 0.66.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179656
2023-06-21 08:52:22 +00:00
Mike Hommey
4a1b6bac9b Bug 1838354 - Refresh the rust workspace hack. r=firefox-build-system-reviewers,supply-chain-reviewers,ahochheiden
It had been neglected for a long time, and the enabled features were
outdated, and plenty of now common crates were missing.

This refresh required ad-hoc, flawed scripts to reach that updated
Cargo.toml. Eventually we'll want this refresh to be automated, but
the existing tools don't quite work for our use case just yet. Rather
than waiting that such a state is reached, go ahead with this manual
update which improves a lot compared to the status quo.

Differential Revision: https://phabricator.services.mozilla.com/D180911
2023-06-21 07:31:44 +00:00
Mike Hommey
39ed3add07 Bug 1838354 - Change how the rust workspace hack is added. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden,whimboo
First, instead of using a path, use a version, which is more convenient
(via a patch in the top-level Cargo.toml).

Second, we make the build system itself enforce its presence for any
crate that is hooked to the build system as a program or library.

Finally, for each crate depending on the workspace hack, we add a
feature named after it, and make the build system enforce that the
feature is set. For now, this remains unused, but the end goal is to
have each of those features enable the dependencies each of these
crates need, so that if crate A and B need dependency D, but crate C
doesn't, building crate C doesn't build D.

Differential Revision: https://phabricator.services.mozilla.com/D180910
2023-06-21 07:31:44 +00:00
Mike Hommey
93784bacca Bug 1825478 - Update bindgen to 0.64. r=emilio,necko-reviewers,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174054
2023-03-30 21:05:14 +00:00
Sylvestre Ledru
04363d3827 Bug 1802689 - Add missing licenses info in Cargo.toml r=mhoye,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D163157
2022-12-13 09:14:44 +00:00
Mike Hommey
94c0c63594 Bug 1801029 - Upgrade bindgen to 0.63.0. r=emilio,necko-reviewers,supply-chain-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D163375
2022-11-30 22:06:50 +00:00
Mike Hommey
7b06b12d90 Bug 1770894 - Update in-tree crates to bindgen 0.59. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147221
2022-05-30 21:37:31 +00:00
Mitchell Hentges
a7cd22e13e Bug 1705376: Synchronize workspace-hack features and usage r=firefox-build-system-reviewers,glandium
Not all in-tree Rust libraries were using workspace-hack.
Additionally, some needed winapi features were missing from
workspace-hack's configuration.

Now, winapi is re-compiled less frequently on a full build.

Differential Revision: https://phabricator.services.mozilla.com/D113564
2021-04-29 15:19:27 +00:00
Gabriele Svelto
0775d6a0d2 Bug 1704518 - Use the workspace hack to reduce build times of the Rust WER components r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D112013
2021-04-15 11:55:31 +00:00
Dragana Damjanovic
96b916ebe1 Bug 1682262 - Update neqo to 0.4.18 and bindgen to 0.56 r=necko-reviewers,emilio,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99665
2020-12-14 18:38:49 +00:00
Sylvestre Ledru
dee9c8970a Bug 1622328 - build/workspace-hack/src/lib.rs: Add the license r=firefox-build-system-reviewers,rstewart
Depends on D66803

Differential Revision: https://phabricator.services.mozilla.com/D66804

--HG--
extra : moz-landing-system : lando
2020-03-13 21:32:12 +00:00
Emilio Cobos Álvarez
6ef2792e0e Bug 1621044 - Update in-tree consumers of bindgen. r=keeler,rhunt
Differential Revision: https://phabricator.services.mozilla.com/D66281

--HG--
extra : moz-landing-system : lando
2020-03-10 21:07:34 +00:00
Chris Manchester
faa6984eb6 Bug 1612305 - Remove log from the mozilla central workspace hack. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D61296

--HG--
extra : moz-landing-system : lando
2020-02-04 00:06:18 +00:00
Andy Grover
f659db9daf Bug 1611990 - Firefox omits Rust log messages of less than WARN level unless compiled in debug mode r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D61254

--HG--
extra : moz-landing-system : lando
2020-01-30 04:51:51 +00:00
Emilio Cobos Álvarez
0c05013f04 Bug 1607701 - Remove unused old version of proc-macro2 from the workspace hack. r=froydnj
This also removes an old version of unicode-xid :)

Differential Revision: https://phabricator.services.mozilla.com/D59090

--HG--
extra : moz-landing-system : lando
2020-01-08 13:43:50 +00:00
Emilio Cobos Álvarez
4695746608 Bug 1601732 - Update in-tree dependencies to smallvec 1.0. r=glandium
We're vendoring it already so no reason not to. Only a couple dependencies left
after these to get rid of 0.6.

Differential Revision: https://phabricator.services.mozilla.com/D56044

--HG--
extra : moz-landing-system : lando
2019-12-05 23:30:59 +00:00
Mike Hommey
7f061cc7b1 Bug 1601150 - Update cargo workspace hack. r=chmanchester
Bug 1601233 made cranelift bump its syn dependency to 1.0, breaking the
workspace hack. Some of the features were also stale from presumably
other updates.

Differential Revision: https://phabricator.services.mozilla.com/D55897

--HG--
extra : moz-landing-system : lando
2019-12-05 04:32:15 +00:00
Chris Manchester
d03f6422fd Bug 1580331 - Update the workspace-hack to avoid duplicate work on windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45581

--HG--
extra : moz-landing-system : lando
2019-09-17 20:46:47 +00:00
Dorel Luca
bff3d0e47a Backed out changeset bb15fe1fd2b1 (bug 1580331) for Spidermonkey failures. CLOSED TREE 2019-09-17 21:06:17 +03:00
Chris Manchester
2826f31324 Bug 1580331 - Update the workspace-hack to avoid duplicate work on windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45581

--HG--
extra : moz-landing-system : lando
2019-09-17 17:34:13 +00:00
Mike Hommey
d9320a4077 Bug 1576003 - Update workspace hack to avoid multiple builds of cranelift. r=nalexander
The discrepancy of features used for syn between jsrust and gkrust
triggered syn and its reverse dependencies up to cranelift to be
built once for jsrust and once for gkrust, while they are time consuming
to build.

Differential Revision: https://phabricator.services.mozilla.com/D43209

--HG--
extra : moz-landing-system : lando
2019-08-23 17:01:40 +00:00
Bastien Orivel
e661e801af Bug 1552695 - Part 1: Deduplicate syn and quote. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D31737

--HG--
extra : moz-landing-system : lando
2019-05-20 12:21:20 +00:00
Chris Manchester
c7f1151b94 Bug 1527553 - Update the mozilla-central workspace hack. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20738

--HG--
extra : moz-landing-system : lando
2019-02-26 19:37:49 +00:00
Chris Manchester
56dc293f15 Bug 1499196 - Introduce a mozilla-central-workspace-hack crate to unify features seen by rust deps. r=ted,firefox-build-system-reviewers
This is the equivalent of the rustc-workspace-hack used by the rust build to
ensure cargo and RLS see the same set of features for dependencies so that
these dependencies may be reused by invocations of cargo for these two
projects. The trivial crate added specifies the union of the set of
features activated for a particular crate for each time it appears in the
dependency tree so that cargo will understand these dependencies to be
re-usable across cargo implementations. This eliminates re-building jsrust
and some of its dependencies twice, and reduces the number of crates compiled
in the tree by about 90 in testing on linux.

Differential Revision: https://phabricator.services.mozilla.com/D9041
2018-10-18 10:39:05 +00:00
Margareta Eliza Balazs
6f90611dce Backed out 4 changesets (bug 1499196) for regression author didn't respond on time, depends on 1501178, requested by igoldan. a=backout
Backed out changeset c43c91d2b97b (bug 1499196)
Backed out changeset caaad097961a (bug 1499196)
Backed out changeset 98fad0b05551 (bug 1499196)
Backed out changeset 470e06d78a7b (bug 1499196)
2018-10-29 10:30:22 +02:00
Chris Manchester
4b9fc11dc1 Bug 1499196 - Introduce a mozilla-central-workspace-hack crate to unify features seen by rust deps. r=ted,firefox-build-system-reviewers
This is the equivalent of the rustc-workspace-hack used by the rust build to
ensure cargo and RLS see the same set of features for dependencies so that
these dependencies may be reused by invocations of cargo for these two
projects. The trivial crate added specifies the union of the set of
features activated for a particular crate for each time it appears in the
dependency tree so that cargo will understand these dependencies to be
re-usable across cargo implementations. This eliminates re-building jsrust
and some of its dependencies twice, and reduces the number of crates compiled
in the tree by about 90 in testing on linux.

Differential Revision: https://phabricator.services.mozilla.com/D9041

--HG--
extra : moz-landing-system : lando
2018-10-18 10:39:05 +00:00