summaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-12-17 10:11:04 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-12-17 14:04:17 -0800
commit918b62ecc3f78c2580770937d903d93d153c0ba7 (patch)
tree70cbd487a957bf96931493eeb5f2d9e5cce69ddc /mesonbuild
parent4bad7111957bce8f8e751467bdcd7f5e76de04e3 (diff)
downloadmeson-918b62ecc3f78c2580770937d903d93d153c0ba7.tar.gz
build: update comments on rust object linking
Some of these issues have been resolved
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/build.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 7ac169cf4..0822f6a2b 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -2355,10 +2355,8 @@ class StaticLibrary(BuildTarget):
# To extract objects from a custom target we would have to extract
# the archive, WIP implementation can be found in
# https://github.com/mesonbuild/meson/pull/9218.
- # For Rust C ABI we could in theory have access to objects, but there
- # are several meson issues that need to be fixed:
- # https://github.com/mesonbuild/meson/issues/10722
- # https://github.com/mesonbuild/meson/issues/10723
+ # For Rust C ABI we could in theory have access to objects, but we
+ # don't currently build them in such a way that this is possible:
# https://github.com/mesonbuild/meson/issues/10724
m = (f'Cannot link_whole a custom or Rust target {t.name!r} into a static library {self.name!r}. '
'Instead, pass individual object files with the "objects:" keyword argument if possible.')