aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile-extern.h')
-rw-r--r--gcc/rust/backend/rust-compile-extern.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/rust/backend/rust-compile-extern.h b/gcc/rust/backend/rust-compile-extern.h
index 1eba011..a0ad200 100644
--- a/gcc/rust/backend/rust-compile-extern.h
+++ b/gcc/rust/backend/rust-compile-extern.h
@@ -51,10 +51,8 @@ public:
rust_assert (ok);
std::string name = item.get_item_name ();
-
- // FIXME
- // this is assuming C ABI
- std::string asm_name = "_" + name;
+ // FIXME this is assuming C ABI
+ std::string asm_name = name;
Btype *type = TyTyResolveCompile::compile (ctx, resolved_type);
bool is_external = true;