阅读背景:

如何在Rust和Python之间传递指针?

来源:互联网 

I am experimenting with writing a library in Rust that I can call from Python code. I would like to be able to pass a void pointer back to Python so that I can hold state between calls into Rust. However, I get a segfault in Rust when trying to access the pointer again.I am experimenting with writing a library in Ru




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: