aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/rust.py
AgeCommit message (Collapse)AuthorFilesLines
2023-03-04typed_kwargs: Extend since_values and deprecated_values for typesXavier Claessens1-2/+2
2023-02-01treewide: add future annotations importEli Schwartz1-1/+1
2023-01-10modules/rust: Fix annotation for _bindgen_binDylan Baker1-2/+2
Which suffers from the same issue as the gnome module
2022-12-05modules/rust: Add support for dependencies in bindgenDylan Baker1-3/+16
This is needed for cases where we need external C headers, which are passed to clang.
2022-12-05modules/rust: Use `__future__.annotations`Dylan Baker1-6/+7
2022-12-05modules/rust: use the shared DEPENDENCIES_KWDylan Baker1-6/+2
2022-12-05modules/rust: Add support for string include_directoriesDylan Baker1-3/+3
Which we support for basically every other case, but not this one.
2022-12-05interpreter: move TEST_KW from interpreter.py to type_checking.pyDylan Baker1-2/+2
Since it's also used in the rust module, it should be in a common place. Also rename from `TEST_KWARGS` to `TEST_KWS`, which is more in line with the `*_KW` naming scheme used in the type_checking module.
2022-11-19modules/rust: stabilizeDylan Baker1-1/+1
Mesa is using the rust module in production, so we should stabilize it.
2022-11-17modules/rust: Also include generated sources for testsDylan Baker1-2/+5
When we create a test from a non-executable, we weren't copying the generated sources, just the static ones.
2022-10-03pylint: enable unnecessary-comprehensionDylan Baker1-3/+1
2022-08-26Fix indentation issues reported by flake8, requiring code restructuringAlf Henrik Sauge1-5/+9
Strictly speaking code restructuring isn't needed, but making this PEP8 compliant results in indentation of the code that reduces the readability. By moving the offending code on the outside of the method call, the readability is maintained.
2022-08-17interpreter: move handling of module stability to interpreterDylan Baker1-0/+235
Thanks to `ModuleInfo`, all modules are just named `foo.py` instead of `unstable_foo.py`, which simplifies the import method a bit. This also allows for accurate FeatureNew/FeatureDeprecated use, as we know when the module was added and if/when it was stabilized.