Tom Hvitved
a2782a12f2
Rust: Run codegen
2025-12-01 20:59:28 +01:00
Tom Hvitved
944ebc5267
Rust: Add Callable.getBody()
2025-10-22 16:40:53 +02:00
Simon Friis Vindum
4846cf4791
Cargo: upgrade dependencies
2025-09-30 10:21:17 +02:00
Simon Friis Vindum
55d022f6eb
Cargo: upgrade dependencies
2025-09-11 10:47:26 +02:00
Geoffrey White
1e46dd8412
Rust: Remove redundant code.
2025-08-28 10:59:37 +01:00
Geoffrey White
194363c107
Rust: Codegen.
2025-08-27 20:01:16 +01:00
Geoffrey White
f838494bf0
Rust: Remove empty impls.
2025-08-27 19:58:03 +01:00
Geoffrey White
9efb6ea995
Rust: Cargo fmt.
2025-08-27 19:16:43 +01:00
Geoffrey White
2e747bb05c
Merge branch 'main' into oldpaths1 (some generated files are left unmerged).
2025-08-27 16:56:06 +01:00
Geoffrey White
152ae1d29b
Rust: Codegen.
2025-08-27 10:42:42 +01:00
Geoffrey White
a8f7f74812
Rust: Remove unused use decls.
2025-08-26 13:57:33 +01:00
Geoffrey White
70600fe6d9
Rust: Remove unused traits and things.
2025-08-26 13:55:29 +01:00
Geoffrey White
bd5f863efc
Rust: Remove uncalled methods.
2025-08-26 13:55:28 +01:00
Paolo Tranquilli
42a40c14ac
Rust: reword macro expansion error
2025-08-26 13:58:47 +02:00
Geoffrey White
dd00df74dd
Rust: Remove unused wiring.
2025-08-26 12:54:31 +01:00
Paolo Tranquilli
02b4c1fa85
Rust: downgrade uncompiled source files from warning to info
2025-08-26 11:56:53 +02:00
Geoffrey White
078fbc6427
Rust: Remove resolve_paths from the translator.
2025-08-26 09:51:00 +01:00
Geoffrey White
456f56096f
Rust: Remove ResolvePaths enum and resolve_paths arguments up to Translator::new (hardcode to false).
2025-08-26 09:46:20 +01:00
Geoffrey White
d6d0645d7b
Rust: Remove skip_path_resolution config variable (hardhoded to true).
2025-08-26 09:33:52 +01:00
Paolo Tranquilli
49bf48eda1
Rust: fix duplicate asm! expressions
2025-08-19 14:01:25 +02:00
Paolo Tranquilli
fbc81cbb18
Rust: fix compilation errors
2025-08-12 17:10:02 +02:00
Paolo Tranquilli
338572f256
Rust: run codegen again
2025-08-12 17:04:26 +02:00
Paolo Tranquilli
6ad8af0ea9
Cargo: upgrade dependencies
2025-08-12 16:46:29 +02:00
Paolo Tranquilli
a007230f21
Merge branch 'main' into redsun82/cargo-upgrade-2
2025-08-12 16:42:23 +02:00
Paolo Tranquilli
45c0c46c9d
Cargo: align rust toolchain version with internal repository
...
Also:
* remove new warnings raised by the rust toolchain
* run new formatting and linting
* update the rust toolchain used by `cargo`
While we keep `bazel` builds using the same toolchain as internally
(now a nightly one), I opted for using a stable toolchain for `cargo`.
The nightly toolchain is only required internally for build reasons, we
should keep not using any unstable rust features in our sources.
2025-08-11 16:45:47 +02:00
Paolo Tranquilli
c5afc65491
Rust: run codegen again
2025-07-15 14:32:13 +02:00
Paolo Tranquilli
f0466ae9ca
Cargo: upgrade dependencies
2025-07-15 14:14:39 +02:00
Paolo Tranquilli
c70198e4e4
Rust: change dummy macro call expansion
2025-07-02 12:25:10 +02:00
Paolo Tranquilli
bf09c92528
Rust: add location to dummy MacroCalls in library mode
2025-07-02 10:33:53 +02:00
Paolo Tranquilli
223f0c8684
Rust: fix macro expansion in library code
...
There was a mismatch between a `self.macro_context_level += 1` and the
corresponding `self.macro_context_level -= 1`, which resulted in an
`usize` underflow (panic in debug mode, wrong behaviour in release
mode).
This fixes it and adds a relevant assertion and test. In order to
properly test library mode extraction, a special option enforcing that
on source code as well is added.
2025-07-01 17:31:26 +02:00
Paolo Tranquilli
5d3bdb955c
Merge branch 'main' into redsun82/rust-item-reorg
2025-06-25 14:34:48 +02:00
Paolo Tranquilli
1f66f902e5
Rust: fix parallel execution of tests using the nightly toolchain
...
Since we dropped checked in toolchain files for tests requiring nightly,
the `setup.sh` script was not doing its job of setting up the toolchains
and the `rust-src` component, occasionally leading to test failures.
2025-06-25 14:13:43 +02:00
Nick Rolfe
c6ff07ad5a
Merge branch 'main' into nickrolfe/ruby-overlay-extraction
2025-06-25 05:46:26 -04:00
Paolo Tranquilli
bcca47c873
Rust: make AssocItem and ExternItem subclasses of Item
2025-06-25 10:25:24 +02:00
Paolo Tranquilli
d0c7550119
Rust: refactor pre_emit! and post_emit! to a trait
2025-06-24 10:40:33 +02:00
Paolo Tranquilli
cbd62a8b75
Rust: address review and test failure
2025-06-23 13:15:09 +02:00
Paolo Tranquilli
377fb00dea
Merge branch 'main' into redsun82/cargo-upgrade-3
2025-06-23 12:26:15 +02:00
Paolo Tranquilli
3ffaf5722a
Rust: fix Meta missing post_emit! implementation
2025-06-23 10:43:39 +02:00
Arthur Baars
f4bdd4d35a
Merge branch 'main' into redsun82/rust-derive-macro-expansion
2025-06-20 19:32:08 +02:00
Arthur Baars
d303a2cf85
Merge branch 'main' into redsun82/cargo-upgrade-3
2025-06-20 19:16:59 +02:00
Arthur Baars
666144ef11
Merge pull request #19823 from github/aibaars/rust-expand-assoc-items
...
Rust: expand attribute macros on `AssocItem` and `ExternItem`
2025-06-20 19:13:44 +02:00
Arthur Baars
089f35330f
Merge branch 'main' into redsun82/cargo-upgrade-3
2025-06-20 19:07:39 +02:00
Arthur Baars
9605eb09b4
Merge pull request #19774 from github/aibaars/limit-diagnostics
...
Rust: limit number of diagnostics to 100 per trap file
2025-06-20 18:29:57 +02:00
Paolo Tranquilli
7edae1eb17
Rust: suppress some expected macro expansion warnings
2025-06-20 17:56:09 +02:00
Paolo Tranquilli
02a9d4c86d
Rust: fix compilation errors
2025-06-20 17:52:36 +02:00
Paolo Tranquilli
efd318dc01
Rust: rerun codegen
2025-06-20 17:45:08 +02:00
Paolo Tranquilli
ce29d8a59a
Cargo: run upgrade
2025-06-20 17:34:23 +02:00
Paolo Tranquilli
02b6e856a3
Rust: remove VariantDef
2025-06-20 15:59:18 +02:00
Paolo Tranquilli
7a3f4a622e
Merge branch 'main' into aibaars/rust-expand-assoc-items
2025-06-20 15:22:20 +02:00
Paolo Tranquilli
7f1769e8d1
Rust: fix nightly toolchain version for tests using it
...
Rather than fixing the version separately for each test, we can just
request to use a nightly in the `options.yml` file, with the specific
version hard-coded in `qltest.rs`. We can update it if we need to.
It's better to have a single nightly version for all tests that require
it, in order to avoid downloading more versions than necessary.
2025-06-20 14:03:42 +02:00