Update gcc/rust/util/rust-mapping-common.h

Co-authored-by: CohenArthur <arthur.cohen@embecosm.com>
This commit is contained in:
Philip Herron 2022-04-11 09:56:14 +01:00 committed by GitHub
parent b1f42c38f5
commit 3513fa38f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ struct DefId
{
std::string buf;
buf += std::to_string (crateNum);
buf += " "; // or anything else
buf += std::to_string (localDefId);
return buf;
}