SQUASH: Rework the element id to be a hash based on filename

and position iof the LBrace token.
This commit is contained in:
Tobias Hunger 2025-04-08 14:46:23 +00:00 committed by Tobias Hunger
parent aaeb4a0df5
commit 9942afd183
7 changed files with 62 additions and 45 deletions

View file

@ -149,7 +149,7 @@ pub struct CompilerConfiguration {
pub debug_info: bool,
/// Generate debug hooks to inspect/override properties.
pub debug_hooks: bool,
pub debug_hooks: Option<std::hash::RandomState>,
pub components_to_generate: ComponentSelection,
@ -229,7 +229,7 @@ impl CompilerConfiguration {
translation_domain: None,
cpp_namespace,
debug_info,
debug_hooks: false,
debug_hooks: None,
components_to_generate: ComponentSelection::ExportedWindows,
#[cfg(feature = "software-renderer")]
font_cache: Default::default(),