Better HN
topnewbestaskshowjobs
Log inSign up

imstuff

1 karma · joined Oct 23, 2019 (7y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

It seems it's only for Azure: https://docs.microsoft.com/en-us/visualstudio/debugger/debug...

comment 7y ago · link · parent

Your `fn rust_qsort` takes ownership of the vector, so it frees its memory after sorting and it can't be used after sorting in the caller function. And generic `impl FnMut` won't work in `extern "C"`, it only accepts function pointers.