gecko-dev/config
Nika Layzell 665766a29c Bug 1759555 - Part 2: Partially configure rust-analyzer for ./mach ide vscode, r=glandium,andi
In order to allow rust-analyzer to be able to use the build script in
the mozbuild crate to discover the configuration information, this patch
adds new flags to the vscode config to tell rust-analyzer to invoke
cargo through `./mach cargo check`, and use the correct target directory
within the objdir rather than `$(topsrcdir)/target`.

Due to the virtual filesystem used by rust-analyzer not including files
in the object directory, this is not sufficient to get suggestions for
symbols from the included files, however it will accurately fetch
diagnostics upon save and run things like proc macros.

A new feature will likely need to be added to rust-analyzer to allow us
to specify additional paths to add to the source root for packages to
fix that issue.

Due to this change using `./mach cargo check`, rather than running it
independently, we don't run into issues caused by running `check`
against crates in the workspace which aren't being used, making the
diagnostics more useful.

An additional feature needed to be added to `./mach cargo check` to
allow specifying `--message-format=json`. I am open to suggestions for a
more elegant way to communicate this flag into the makefile.

Depends on D153269

Differential Revision: https://phabricator.services.mozilla.com/D153270
2022-08-09 14:12:12 +00:00
..
external Bug 1783798 - Disable enum-constexpr-conversion error in ICU for now. r=firefox-build-system-reviewers,ahochheiden 2022-08-09 07:45:54 +00:00
faster Bug 1701269 - Remove mobile/android/base. r=nalexander,flod,owlish 2021-05-20 22:03:03 +00:00
makefiles Bug 1759555 - Part 2: Partially configure rust-analyzer for ./mach ide vscode, r=glandium,andi 2022-08-09 14:12:12 +00:00
mozunit Bug 1766497 - Add `opener` parameter to `_MockBaseOpen` so that <PathObject>.open calls are mocked as expected r=ahal 2022-06-07 23:52:50 +00:00
tests Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici 2021-11-22 22:10:03 +00:00
AB_rCD.mk
Makefile.in
MozZipFile.py
autoconf-js.mk.in
autoconf.mk.in
baseconfig.mk
check_js_msg_encoding.py
check_js_opcode.py
check_macroassembler_style.py Bug 1768214 - introduce wasm32 codegen. r=jandem 2022-07-01 04:23:16 +00:00
check_source_count.py
check_spidermonkey_style.py Bug 1749665 part 3 - Replace atomic operation stubs with inline assembly. r=lth 2022-01-24 09:11:50 +00:00
check_vanilla_allocations.py Bug 1701695 - Add NumberFormat::TryCreate; r=tcampbell 2021-05-12 17:22:51 +00:00
config.mk Bug 1774594 - Don't add color flags to linker. r=glandium 2022-06-21 06:42:35 +00:00
create_rc.py
create_res.py Bug 1721208 - Added a preprocessor #define for the CPU architecture in created .res files to resolve a build breakwith with Windows SDK 10.0.22000.x. r=mhentges,glandium 2021-10-14 22:06:41 +00:00
createprecomplete.py
emptyvars-js.mk.in
emptyvars.mk.in
gcc-stl-wrapper.template.h Bug 1720641 - Don't include mozalloc.h from the cmath wrapper. r=firefox-build-system-reviewers,andi 2021-07-15 20:41:54 +00:00
gcc_hidden.h
install.bat
make-stl-wrappers.py
make-system-wrappers.py
make-windows-h-wrapper.py
milestone.txt Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-07-25 16:15:27 +00:00
moz.build
msvc-stl-wrapper.template.h
nsinstall.c
nsinstall.py
pathsub.c
pathsub.h
printconfigsetting.py
printprereleasesuffix.py Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici 2021-11-22 22:10:03 +00:00
rebuild_check.py
recurse.mk Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley 2021-11-27 23:30:49 +00:00
rules.mk Bug 1770484 - Make Mac processes not depend on DYLD_LIBRARY_PATH to load libraries r=glandium,gsvelto,mac-reviewers,necko-reviewers,dragana,spohl 2022-06-03 21:14:01 +00:00
run-and-prefix.py
run_spidermonkey_checks.py
static-checking-config.mk Bug 1726474 - Use clang.exe to build wasm files when the clang plugin is enabled. r=firefox-build-system-reviewers,andi 2021-08-25 07:39:02 +00:00
stl-headers.mozbuild
system-headers.mozbuild Bug 1351378 - Add an --enable-audio-backends option. r=mhentges 2022-03-28 20:48:52 +00:00
windows-h-constant.decls.h Bug 1773359 - Remove TRANSPARENT workaround in webrender bindings. r=gfx-reviewers,jrmuizel 2022-06-08 19:19:08 +00:00
windows-h-unicode.decls.h
windows-h-wrapper.template.h