Files
Ayke van Laethem 28a083633c cgo: allow --export= in LDFLAGS
This allows people to export some functions, such as malloc. Example:

    // #cgo LDFLAGS: --export=malloc
    import "C"

This exports the function malloc.

Note that this is somewhat unsafe right now, but it is used regardless.
By using this workaround, people have some time to transition away from
using malloc/free directly or until malloc is made safe to be used in
this way.
2022-09-15 11:36:29 +02:00
..
2022-05-06 17:22:22 +02:00
2021-05-21 17:54:13 +02:00
2021-05-21 17:54:13 +02:00
2019-11-25 09:32:03 +01:00
2022-09-15 11:36:29 +02:00