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

6010 Коммитов

Автор SHA1 Сообщение Дата
Mozilla Releng Treescript 5e58683eba Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-06-05 14:40:55 +00:00
serge-sans-paille 9ea38abea5 Bug 1831334 - Make sure every rust dependency has a default implicit rule r=glandium
When rustc generates its dependency file, it takes into account current
version of the codebase. If an update of the code then happens, with,
say an ipdl file being removed, the corresponding .h is no longer
generated and make rightfully complains about missing dependency.

Allow this kind of transition by providing a dummy rule for each
dependency generated by rustc.

Differential Revision: https://phabricator.services.mozilla.com/D178617
2023-05-29 11:00:35 +00:00
André Bargull 806d734076 Bug 1824744 - Part 3: Update tzdata files to 2023c. r=platform-i18n-reviewers,gregtatum
Depends on D176264

Differential Revision: https://phabricator.services.mozilla.com/D176265
2023-05-25 20:40:54 +00:00
André Bargull 9f5d869662 Bug 1824744 - Part 2: Update in-tree ICU to 73. r=platform-i18n-reviewers,gregtatum
Depends on D176263

Differential Revision: https://phabricator.services.mozilla.com/D176264
2023-05-25 20:40:43 +00:00
serge-sans-paille 0d9d9d644b Bug 1834600 - Only pass -C lto to rustc when relevant r=glandium
Instead of duplicating the flag location, use a single place to pass
either lto or lto=fat.

Differential Revision: https://phabricator.services.mozilla.com/D178841
2023-05-24 13:06:49 +00:00
Noemi Erli 40c92c02c2 Backed out changeset a18b8f64f7b8 (bug 1831334) for causing build bustages in rust.mk CLOSED TREE 2023-05-23 16:40:35 +03:00
serge-sans-paille 4f667e41d0 Bug 1831334 - Make sure every rust dependency has a default implicit rule r=glandium
When rustc generates its dependency file, it takes into account current
version of the codebase. If an update of the code then happens, with,
say an ipdl file being removed, the corresponding .h is no longer
generated and make rightfully complains about missing dependency.

Allow this kind of transition by providing a dummy rule for each
dependency generated by rustc.

Differential Revision: https://phabricator.services.mozilla.com/D178617
2023-05-23 11:58:26 +00:00
serge-sans-paille 4378e70adc Bug 1821680 - provide --enable-lto=full-cross r=glandium
This combines the effect of full LTO for C/C++ code with rust cross LTO
capability.

Differential Revision: https://phabricator.services.mozilla.com/D172266
2023-05-10 10:56:31 +00:00
Sandor Molnar 2b1a30bb79 Backed out changeset 8ed1797a2640 (bug 1821680) dev spotted a bug. CLOSED TREE 2023-05-10 12:26:12 +03:00
serge-sans-paille 3d53fad43c Bug 1821680 - provide --enable-lto=full-cross r=glandium
This combines the effect of full LTO for C/C++ code with rust cross LTO
capability.

Differential Revision: https://phabricator.services.mozilla.com/D172266
2023-05-10 07:41:10 +00:00
Iulian Moraru e6dc9ce946 Merge mozilla-central to autoland on a CLOSED TREE 2023-05-09 00:44:10 +03:00
Shravan Narayan 38277b4a83 Bug 1831227 - Remove windows.h dependency in wasm2c host program r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D177123
2023-05-08 21:21:54 +00:00
Mike Hommey e120474d55 Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-08 21:10:19 +00:00
Mozilla Releng Treescript 35afddde8a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-05-08 17:34:56 +00:00
Shravan Narayan b6f5e0b726 Bug 1830962: Update wasm2c to disable Wasm exception handling code from runtime r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176949
2023-05-04 02:57:19 +00:00
Noemi Erli 573fdf0764 Backed out changeset e261c34a0fc4 (bug 1829765) for depanding on Bug 1830962 CLOSED TREE 2023-05-03 11:24:23 +03:00
Noemi Erli bbbc12385f Backed out changeset 6fceae307b7c (bug 1830962) for causing build bustages in rlbox.wasm.h 2023-05-03 11:20:47 +03:00
Willy R. Vasquez 4bb6675060 Bug 1829765 - Enable SIMD support in wasm2c for RLBox sandboxing r=glandium,shravanrn CLOSED TREE
Vendor in support for simd-everywhere

Differential Revision: https://phabricator.services.mozilla.com/D176371
2023-04-25 00:20:52 +00:00
Shravan Narayan 09eab83044 Bug 1830962: Update wasm2c to disable Wasm exception handling code from runtime r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176949
2023-05-03 07:30:39 +00:00
Noemi Erli b021722dbf Backed out changeset e06349a5b0f2 (bug 1829050) for causing build bustages in rlbox_wasm2c_sandbox.hpp 2023-05-03 08:16:13 +03:00
Mike Hommey d9b2a96f8d Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-03 04:05:07 +00:00
Norisz Fay 7aa97db372 Backed out changeset cddc0b331d97 (bug 1829050) for causing bustages on CheckedInt.h CLOSED TREE 2023-05-03 04:31:34 +03:00
Mike Hommey da624910fc Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-03 00:56:33 +00:00
Shravan Narayan a4cc61ac4c Bug 1830036 - Update wasm2c compiler used with RLBox to support OpenBSD r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176567
2023-05-02 00:00:29 +00:00
Gabriele Svelto 5c71cb8b3b Bug 1830709 - Remove old build rule used for Google Breakpad's dump_syms r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D176805
2023-05-01 21:36:06 +00:00
Mike Hommey 5102bdbc4c Bug 1829049 - Adjust check_vanilla_allocations to handle the case where operator new is inlined. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D175995
2023-04-27 06:11:36 +00:00
Cosmin Sabou 566f69826b Backed out 3 changesets (bug 1829049) for causing nightlyasrelease build bustage.
Backed out changeset 0dad03fea3eb (bug 1829049)
Backed out changeset 1350772f04de (bug 1829049)
Backed out changeset 2585980fa4fe (bug 1829049)
2023-04-27 07:38:40 +03:00
Mike Hommey a579464f0d Bug 1829049 - Adjust check_vanilla_allocations to handle the case where operator new is inlined. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D175995
2023-04-26 23:32:16 +00:00
Cristian Tuns 56b2c76d14 Bug 1829245 - Fix spidermonkey linux64/debug bustages r=rix CLOSED TREE 2023-04-26 00:28:23 -04:00
Mike Hommey 1855bd6010 Bug 1829245 - Change how intl/component files are identified in check_vanilla_allocations. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D176102
2023-04-26 04:00:09 +00:00
Mike Hommey acbe860fc5 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-26 02:44:12 +00:00
Shravan Narayan df636672ed Bug 1829268 - Update wasm2c compiler used with RLBox to support MinGW r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176254
2023-04-25 07:00:41 +00:00
Natalia Csoregi 56e93e216a Backed out changeset 35f665d19e3a (bug 1274334) for causing Gtest failures on STLWrapper. CLOSED TREE 2023-04-21 15:35:35 +03:00
Mike Hommey 45f37efa8c Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 09:37:19 +00:00
Natalia Csoregi 639fa048d6 Backed out changeset 0ddf006ab8f0 (bug 1274334) for causing win 2012 bustages on WebGLRenderingContextBinding.h. CLOSED TREE 2023-04-21 12:11:01 +03:00
Mike Hommey 1b4a9de576 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 08:26:50 +00:00
Shravan Narayan ed0bb19d78 Bug 1827704 - Migrate to the upstream wasm2c for RLBox sandboxing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175439
2023-04-21 01:31:35 +00:00
Mike Hommey 94f435dbdc Bug 1828577 - Properly set *-stl-wrapper.template.h as an input to the make-stl-wrappers script. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175734
2023-04-20 21:49:03 +00:00
Mozilla Releng Treescript 504bd0a7ee Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-04-10 15:05:17 +00:00
serge-sans-paille 23daed2f0e Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-04-06 12:55:54 +00:00
Cosmin Sabou 55d5c4b9df Backed out changeset 8725bf468d29 (bug 1808184) for breaking incremental builds (bug 1826114). a=backout 2023-04-04 16:48:15 +03:00
serge-sans-paille 1e9746ea8d Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-04-01 06:52:58 +00:00
serge-sans-paille 3cc6661196 Bug 1825555 - Portable extraction of rust dependency r=glandium
Looks like $(file <) construct is too recent for some of our downstream
users.

Differential Revision: https://phabricator.services.mozilla.com/D174210
2023-03-31 12:31:48 +00:00
André Bargull 3e45456337 Bug 1824301: Update time zone data to tzdata2023a. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D173657
2023-03-29 06:17:26 +00:00
serge-sans-paille c0bcda8e91 Bug 1806618 - Avoid rebuilding RUST_PROGRAMS based on dependencies r=sylvestre,ahochheiden,firefox-build-system-reviewers
cargo generates dependency file for each program, systematically. Use it
to avoid redundant builds.

This handles the following situations:

* Cargo file is updated
* One of the dependency output by cargo is updated
* Binary is manually removed
* Dependency file is manually removed

Differential Revision: https://phabricator.services.mozilla.com/D165159
2023-03-23 13:38:31 +00:00
André Bargull 32434f8e6b Bug 1818103: Revert date format for en-CA. r=platform-i18n-reviewers,jfkthame
Revert the date format for en-CA per <https://github.com/unicode-org/cldr/pull/2759>.

The actual patch is based on <https://github.com/unicode-org/icu/pull/2368>.

Differential Revision: https://phabricator.services.mozilla.com/D173406
2023-03-23 09:26:42 +00:00
Marian-Vasile Laza d630a6aad3 Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages. CLOSED TREE
Backed out changeset adae02427fe6 (bug 1808184)
Backed out changeset 6445ca9d0ee4 (bug 1806618)
2023-03-23 09:23:29 +02:00
serge-sans-paille a881fee2ed Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
This generalizes Bug 1806618 to library files, avoiding a few extra calls
to rustc.

Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-03-23 06:30:24 +00:00
serge-sans-paille 22fc01d585 Bug 1806618 - Avoid rebuilding RUST_PROGRAMS based on dependencies r=sylvestre,ahochheiden,firefox-build-system-reviewers
cargo generates dependency file for each program, systematically. Use it
to avoid redundant builds.

This handles the following situations:

* Cargo file is updated
* One of the dependency output by cargo is updated
* Binary is manually removed
* Dependency file is manually removed

Differential Revision: https://phabricator.services.mozilla.com/D165159
2023-03-23 06:30:24 +00:00
Cosmin Sabou a051b65f23 Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages.
Backed out changeset 04b7be54155f (bug 1808184)
Backed out changeset e00332f32a2d (bug 1806618)
2023-03-15 18:12:19 +02:00