Package: rustc
Version: 1.70.0+dfsg2-1

Attached is a simple program that combines Rust and C code with a
statically compiled version of zlib. The project also has a shell
script that compiles the code using only cc, ar and rustc, so there
are no build systems or anything else within to mix things up.

The project compiles and runs on x86_64 but fails on (at least) x86
and aarch64 complaining about some missing symbols with leading double
underscores.

I don't know what the correct behaviour here is but since the commands
are the same the outcome should at least be identical on all
platforms.

This issue is blocking Meson transition to testing as bug number
#1059223 but as shown by the project the underlying issue can be
replicated without Meson.

Thanks,

Attachment: rustcmixbug.tar.gz
Description: application/gzip

Reply via email to