mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 19:56:42 +01:00
add ability to include file as data
This commit is contained in:
@@ -173,6 +173,9 @@ pub fn emit(script: &ast::Script) -> Vec<u8> {
|
||||
segment_data.push(c as u8);
|
||||
}
|
||||
}
|
||||
ast::DataValues::File { data, .. } => {
|
||||
segment_data.extend_from_slice(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
data_section.active(
|
||||
|
||||
Reference in New Issue
Block a user