# 请问有没有方法可以用月兔调用rust代码？

**URL:** <https://taolun.moonbitlang.com/t/topic/1015>\
**Category:** 欢迎\
**Created:** [2024 年10 月 29 日 05:09 UTC](https://taolun.moonbitlang.com/t/topic/1015 "2024-10-29T05:09:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![Kaguya](https://taolun.moonbitlang.com/letter_avatar_proxy/v4/letter/k/439d5e/32.png) [@Kaguya](https://taolun.moonbitlang.com/u/Kaguya)\
发布日期： [2024 年10 月 29 日 05:09 UTC](https://taolun.moonbitlang.com/t/topic/1015/1 "2024-10-29T05:09:01Z")

</div>

如题，请问有无方法用月兔调用rust代码

---

<div class="post-metadata">

作者： ![hackwaly](https://taolun.moonbitlang.com/user_avatar/taolun.moonbitlang.com/hackwaly/32/60_2.png) [@hackwaly](https://taolun.moonbitlang.com/u/hackwaly)\
发布日期： [2025 年3 月 1 日 15:40 UTC](https://taolun.moonbitlang.com/t/topic/1015/2 "2025-03-01T15:40:31Z")

</div>

我们现在已经支持 native 后端，可以把 rust 导出到 c 界面，然后在 moonbit 中用 ffi 引入。
