mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dd19110e8a
Filter out GCC only `--param=min-pagesize=0` in `clangd` mode. This fixes compilation of rust applications, that now fails with: thread 'main' panicked at 'Unable to generate bindings: ClangDiagnostic("error: argument unused during compilation: '--param=min-pagesize=0' [-Wunused-command-line-argument]\n")', /home/maribu/.cargo/git/checkouts/rust-riot-sys-d12733b89271907c/b4bd4bd/build.rs:224:10 |
||
---|---|---|
.. | ||
compile_commands.py | ||
README.md |
Generation of compile_commands.json
This tool can be used to generate compile_commands.json
e.g. for code completion and linting in
IDEs. It relies on the build system providing the compilation details in bin dir. This tools is
best invoked indirectly via make compile-commands
inside the application, which will first
generate the required files in the bin directory and then invoke this tool. For more details, check
the getting started page in the RIOT API documentation.