Skip to content
Snippets Groups Projects

Misc. improvements

Merged rarbore2 requested to merge misc into main
2 files
+ 23
10
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -38,7 +38,8 @@ pub struct ModuleManifest {
* embed_constant calculates the byte representation of a constant. For zero
* constants, we avoid storing the actual zero bytes, and optionally store the
* size - zero constant arrays may have dynamic constant dimensions unknown at
* compile time.
* compile time. The second usize in each variant is the alignment the bytes
* must be at to be used properly.
*/
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub enum ConstantBytes {
Loading