messense
messense
`query` is documented in https://github.com/messense/typst-py/blob/42fa8b2fd145d29569ed122ff50c189a45c8c44b/python/typst/__init__.pyi#L264-L290
Unfortunately the generated python file name can only be inferred from `cdylib_name` config in `uniffi.toml` so you'd need to change it to `odict` to match the `.py` file.
Can you try change this to `odict` as well? https://github.com/TheOpenDictionary/odict/blob/ffbfacb6e531421ef6a9cafbe852e321e2b666ce/python/Cargo.toml#L7
PR welcome!
xref https://github.com/PyO3/python3-dll-a/issues/20#issuecomment-1131260691 Because `Py_3_11` feature implies `Py_3_7`, `Py_3_8`, `Py_3_9`, `Py_3_10` and `Py_3_11`, we also need to consider `abi3`, it's kinda messy to add the `link` annotations even with macros I...
Happy to accept a PR.
PR welcome, but the current CI is pretty broken due to outdated actions etc.
@copilot Investigate the ci failure in https://github.com/rust-cross/cargo-zigbuild/actions/runs/16318605875/job/46090402973?pr=353
@copilot no, the failure was ``` Compiling hello-tls v0.1.0 (/home/runner/work/cargo-zigbuild/cargo-zigbuild/tests/hello-tls) error: linking with `/home/runner/.cache/cargo-zigbuild/0.20.0/zigcc-aarch64-apple-darwin-adb5.sh` failed: exit status: 1 | = note: "/home/runner/.cache/cargo-zigbuild/0.20.0/zigcc-aarch64-apple-darwin-adb5.sh" "/tmp/rustcCQ1Qcm/symbols.o" "" "/home/runner/work/cargo-zigbuild/cargo-zigbuild/tests/hello-tls/target/aarch64-apple-darwin/debug/deps/{libreqwest-88a0644ca0b01651.rlib,librustls_pemfile-4a8cc245e1515e8f.rlib,librustls_pki_types-d60c08480423d926.rlib,libserde_urlencoded-2456f42d780fd217.rlib,libryu-e13094d764217dbb.rlib,libbase64-161004626d9ab6d5.rlib,libsystem_configuration-acb319a74d4342a2.rlib,libsystem_configuration_sys-bc5d2187db64a7e5.rlib,libipnet-3e837bdda91db654.rlib,libhyper_tls-019ad881a96463d9.rlib,libtokio_native_tls-e20e8d3d3ab23c5d.rlib,libmime-819e96257b3833ca.rlib,libencoding_rs-d8ca39162584e094.rlib,libserde-2d92be3d88a287d3.rlib,libnative_tls-73da6575c3c33151.rlib,libtempfile-2ada5a18705f7f08.rlib,libfastrand-ff1a4f33be4be3d4.rlib,librustix-03923fed2130d521.rlib,liberrno-26badaef5630d583.rlib,libcfg_if-eb7dc8728df343ae.rlib,libsecurity_framework-ae87f8051ba6ad9a.rlib,libbitflags-1cd424749f00bb9d.rlib,libsecurity_framework_sys-3123e8448a5464a1.rlib,libcore_foundation-8f42de9e4f5c4e29.rlib,libcore_foundation_sys-9a555463efe06ae1.rlib,libhyper_util-049d7b6e08a3f346.rlib,libtower_service-db3e6143731752b8.rlib,libhyper-f55468671cfe6616.rlib,libwant-34e83527e7d87f18.rlib,libtry_lock-f556fbba423420dc.rlib,libhttparse-3d7734238fa138ac.rlib,libh2-2584d8dc376f447d.rlib,libtracing-62ce5dece45c5a2c.rlib,libtracing_core-51a467ba2332c86b.rlib,libonce_cell-eee35be54d4603be.rlib,libindexmap-3ef4468164cfef23.rlib,libequivalent-7667c57bed307c7b.rlib,libhashbrown-85ea83b69b0aad50.rlib,libslab-e2e2b57f170f392a.rlib,libatomic_waker-fa96139ce717eafd.rlib,libtokio_util-a0311c89e83882e5.rlib,libfutures_sink-2393071a43a1558b.rlib,libfutures_channel-fceaa3bed8872882.rlib,libhttp_body_util-5b7d7db39c76aa55.rlib,libfutures_util-271a62d4a307bc07.rlib,libfutures_task-2efe019e5da78997.rlib,libpin_utils-0752227df89ec16d.rlib,libhttp_body-0eb6437b896b2e94.rlib,liblog-dcbf6a95791ce7b9.rlib,libfutures_core-1075af346db748e3.rlib,liburl-89644e757292840f.rlib,libidna-cd300dff76691bf7.rlib,libidna_adapter-e9652299e5cc8bd6.rlib,libicu_normalizer-d236a87a8747c6eb.rlib,libicu_normalizer_data-c72c2fb58b83a8bd.rlib,libwrite16-364e40640b68ec98.rlib,libutf8_iter-8ff37a3baf8796b2.rlib,libutf16_iter-9b111fe44efacdf0.rlib,libsmallvec-36323caf353a6a24.rlib,libicu_properties-6ce4b7870db3b71c.rlib,libicu_properties_data-4395017e54e891a9.rlib,libicu_locid_transform-c4199bc2b87d61ac.rlib,libicu_locid_transform_data-b126336205e1152b.rlib,libicu_collections-2c0399aef752da15.rlib,libicu_provider-95821bcf17cdd30f.rlib,libicu_locid-9f5dd3af09fb9fb4.rlib,liblitemap-0c202e0efd4ea14c.rlib,libtinystr-3d1b6459ef8c46aa.rlib,libzerovec-2e7202c5e9bc6bb1.rlib,libwriteable-d4cf5350f791d27c.rlib,libyoke-92b298b27ec7767a.rlib,libzerofrom-e7abd749c2bfd953.rlib,libstable_deref_trait-e5c4cbba98635efe.rlib,libform_urlencoded-96ef02712cbd050c.rlib,libpercent_encoding-c1da8908cf943d44.rlib,libhttp-556a87d7338d28cf.rlib,libitoa-4c2470653efc6ed0.rlib,libfnv-e64e4979db3dbd79.rlib,libtokio-b7e2095d1b8329bd.rlib,libsocket2-418c55faf756e9ff.rlib,libbytes-933f0ab32212ec6b.rlib,libmio-42e54e8b419e5d7f.rlib,liblibc-b37b9d680101017a.rlib,libpin_project_lite-af6ceff3e1b5c855.rlib}.rlib" "/lib/rustlib/aarch64-apple-darwin/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-framework" "SystemConfiguration" "-framework" "Security"...
Not much we can do here besides filtering out the unsupported linker arg unless `zig cc` adds support?