From b21c05e9244706f4e84f29f78627940238ef9f6c Mon Sep 17 00:00:00 2001 From: koniifer Date: Sun, 10 Nov 2024 19:37:37 +0000 Subject: [PATCH] compiler bugfix --- Cargo.lock | 6 +++--- sysdata/programs/sunset_client/src/main.hb | 4 ++-- sysdata/system_config.toml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1e01574..4664788 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -228,12 +228,12 @@ dependencies = [ [[package]] name = "hbbytecode" version = "0.1.0" -source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#c61efc393361089f5217db9f4a9011ed0248b8db" +source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#b6274f3455d0545a64f2cc866b39d409e0a73427" [[package]] name = "hblang" version = "0.1.0" -source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#c61efc393361089f5217db9f4a9011ed0248b8db" +source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#b6274f3455d0545a64f2cc866b39d409e0a73427" dependencies = [ "hashbrown 0.15.1", "hbbytecode", @@ -245,7 +245,7 @@ dependencies = [ [[package]] name = "hbvm" version = "0.1.0" -source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#c61efc393361089f5217db9f4a9011ed0248b8db" +source = "git+https://git.ablecorp.us/AbleOS/holey-bytes.git#b6274f3455d0545a64f2cc866b39d409e0a73427" dependencies = [ "hbbytecode", ] diff --git a/sysdata/programs/sunset_client/src/main.hb b/sysdata/programs/sunset_client/src/main.hb index a5434df..a9def72 100644 --- a/sysdata/programs/sunset_client/src/main.hb +++ b/sysdata/programs/sunset_client/src/main.hb @@ -12,8 +12,8 @@ main := fn(): void { log.info("client: window created. title:\0") log.info(window.props.title) window.props.position = .(500, 500) - props := @unwrap(sunset.client.update_window_props(@unwrap(window))) - if props.position.x != @unwrap(window).props.position.x { + props := @unwrap(sunset.client.update_window_props(window)) + if props.position.x != window.props.position.x { log.error("client: we did not update props\0") } log.info("client: sending shutdown request\0") diff --git a/sysdata/system_config.toml b/sysdata/system_config.toml index 53d17e6..da9cbd0 100644 --- a/sysdata/system_config.toml +++ b/sysdata/system_config.toml @@ -22,8 +22,8 @@ resolution = "1024x768x24" [boot.limine.ableos.modules] -[boot.limine.ableos.modules.render_example] -path = "boot:///render_example.hbf" +# [boot.limine.ableos.modules.render_example] +# path = "boot:///render_example.hbf" # [boot.limine.ableos.modules.horizon] # path = "boot:///horizon.hbf"