Is it possible for me to call raise(sig) from Rust?

Dan Dumont 0 Reputation points
2025-05-05T22:49:54.5633333+00:00

I am trying to call this function: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/raise?view=msvc-170 from Rust.

But it doesn't seem to be in any of the windows-rs crates.

How might I do the equivalent?

Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.