minor fix

This commit is contained in:
Brendan Hansknecht 2024-10-07 17:02:33 -07:00
parent 5b8b781bad
commit e6a149642d
No known key found for this signature in database
GPG key ID: A199D0660F95F948
2 changed files with 8 additions and 4 deletions

View file

@ -113,9 +113,13 @@ pub fn helper(
} => {
// TODO support multiple of these!
debug_assert_eq!(exposed_to_host.len(), 1);
let (symbol, layout) = exposed_to_host[0];
let (name, symbol, layout) = exposed_to_host[0];
SingleEntryPoint { symbol, layout }
SingleEntryPoint {
name,
symbol,
layout,
}
}
EntryPoint::Test => {
unreachable!()