mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
wasm: add comment on why DataSection::bytes is public
This commit is contained in:
parent
896715cd58
commit
5882ee4af0
1 changed files with 1 additions and 1 deletions
|
@ -1022,7 +1022,7 @@ impl Serialize for DataSegment<'_> {
|
|||
#[derive(Debug)]
|
||||
pub struct DataSection<'a> {
|
||||
count: u32,
|
||||
pub bytes: Vec<'a, u8>,
|
||||
pub bytes: Vec<'a, u8>, // public so backend.rs can calculate addr of first string
|
||||
}
|
||||
|
||||
impl<'a> DataSection<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue