4 ms·
why are you bringing up malloc?
by gpderetta 10y ago
why are you bringing up malloc?
- the_mitsuhiko 10y agoBecause you do not necessarily know which call will allocate memory in Rust and even in C it can be tricky. You literally can only go with the whitelisted functions.
- gpderetta 10y agoYes, that's way you should, as I suggested, only call functions explicitly documented as asyc-signal-safe.