| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
| |
* The Grand Reformat
- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Small refactoring for handling -Zunpretty calls:
- reuse options from main compiler invocation instead of crafting new ones.
- factor out common part.
Now also handles HIR output in a dedicated pane.
Still a lot of copy/pasting from the macro expansion.
fixes #2567
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Conflicting changes in #3109 and #3064 left the GCC dump of rustc broken.
Reapplied the changes and refactored how the -fdump-foo-pass= option is crafted.
Instead of using stdout, use an explicit file. Beware that this won't work with
older GCC version. Regular GCC is still using the 'dump all files' instead of
the targeted option, so it's not impacted by this limitation. Only rustc-cg-gcc
is currently using this mecanism and it's using a recent libgccjit.
Really fixes #2868
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
same execution (#3116)
* Honor compiler flags in rustc MIR output view
* Refactor rustc/MIR execution handling
Apply the same receipe as for GNAT and GCC for minimizing the number of
executions for getting extra outputs (here MIR).
After discussions in #3107, the way the output files are created is also
changed to use the syntax `--emit KIND=PATH` (see
https://doc.bccnsoft.com/docs/rust-1.36.0-docs-html/rustc/command-line-arguments.html)
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* fixup! Refactor rustc/MIR execution handling
Co-authored-by: Nico Lehmann <nico.lehmannm@gmail.com>
|
|
|
| |
Adds a new pane for producing the macro expansion of Rust code compiled with rustc.
|
|
|
|
| |
* Add Rustc MIR representation view
* Enable MIR view for rust-cg-gcc
|
|
|
|
|
|
|
|
|
| |
* Initial sketch for how we could parse Rust output
It has many issues, which I need to ask about, but ey, it works!
* Fix spacing
* Add tests for the new Rust output parsing
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com>
|
|
|
|
| |
Closes #509
|
| |
|
| |
|
|
|
|
| |
closes #497
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
After some suprises about how outdated the node version was compared to
the main project, it became clear we needed to do something.
@jaredwy suggested using the main project as there's now nothing
stopping us from using it after the switch to webpack.
cc @mattgodbolDrop underscore-node in favour of underscore.js
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Not saying it works, but if you hack few more things, you can start
to use it. Commiting just in case
|
|
|
|
| |
add/remove options per compiler such as for rust where we need to not add the --emit argument if the user has passed us one
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|