How can we call a func template instance using the Mars vendor already ?
user1234
user1234 at 12.de
Thu Feb 19 16:20:58 UTC 2026
On Thursday, 19 February 2026 at 15:37:42 UTC, user1234 wrote:
> [...]
> so you'll get
>
>> Error: function `runnable.NG` label
>> `_D8runnable__T2ngVii1ZQiFNaNbNiNfZi` is undefined
>> Error: function `runnable.NG` label
>> `_D8runnable__T7ngVii2ZQnFNaNbNiNfZi` is undefined
>
> So to keep things simples the idea is to provide a valid
> function identifier in the asm. I've used compiler explorer to
> get the __valid__ mangled version
> (https://godbolt.org/z/WYMqMhnWG). No luck.
>
> Is that even possible ?
The static foreach does not seem to generate the symbols in a
classic way tho...
> assume CS:.text._D8runnable__T2ngVii1ZQiFNaNbNiNfZi
but on the other hand the error message is not a linker one
More information about the Digitalmars-d-learn
mailing list