diff options
author | CohenArthur <arthur.cohen@epita.fr> | 2021-08-24 21:57:54 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@epita.fr> | 2021-09-05 20:52:55 +0200 |
commit | 04ea1955ee6a70390a171328c537ed121eb05078 (patch) | |
tree | 84da324a046eacdce472f647445256fc9f4a1cff /gcc/rust/backend/rust-compile-context.h | |
parent | 91507076503d57982218c726a712c48adc7a4e1d (diff) | |
download | gcc-04ea1955ee6a70390a171328c537ed121eb05078.zip gcc-04ea1955ee6a70390a171328c537ed121eb05078.tar.gz gcc-04ea1955ee6a70390a171328c537ed121eb05078.tar.bz2 |
mangling: Add option to choose mangling version
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-context.h b/gcc/rust/backend/rust-compile-context.h index 126d058..05c15e3 100644 --- a/gcc/rust/backend/rust-compile-context.h +++ b/gcc/rust/backend/rust-compile-context.h @@ -46,7 +46,7 @@ public: : backend (backend), resolver (Resolver::Resolver::get ()), tyctx (Resolver::TypeCheckContext::get ()), mappings (Analysis::Mappings::get ()), - const_ctx (ConstFold::Context::get ()), mangler (Mangler (Mangler::MangleVersion::LEGACY)) + const_ctx (ConstFold::Context::get ()), mangler (Mangler ()) { // insert the builtins auto builtins = resolver->get_builtin_types (); |