# Uses for #\[no\_mangle\] with Rust ABI?

**URL:** <https://internals.rust-lang.org/t/uses-for-no-mangle-with-rust-abi/7293>\
**Category:** language design\
**Created:** [April 11, 2018, 8:09pm UTC](https://internals.rust-lang.org/t/uses-for-no-mangle-with-rust-abi/7293 "2018-04-11T20:09:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![djzin](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/djzin/32/4170_2.png) [@djzin](https://internals.rust-lang.org/u/djzin)\
**Post date:** [April 11, 2018, 8:46pm UTC](https://internals.rust-lang.org/t/uses-for-no-mangle-with-rust-abi/7293/2 "2018-04-11T20:46:02Z")

</div>

The main use case for me would be when compiling to asm - the function name is a lot nicer when unmangled. See my [rustc-optimization repository](https://github.com/djzin/rustc-optimization) which uses this.

---

_[View the full topic](https://internals.rust-lang.org/t/uses-for-no-mangle-with-rust-abi/7293)._
