compiler bugfix

This commit is contained in:
koniifer 2024-11-10 19:37:37 +00:00
parent 2f5bc73665
commit b21c05e924
3 changed files with 7 additions and 7 deletions

6
Cargo.lock generated
View file

@ -228,12 +228,12 @@ dependencies = [
[[package]] [[package]]
name = "hbbytecode" name = "hbbytecode"
version = "0.1.0" 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]] [[package]]
name = "hblang" name = "hblang"
version = "0.1.0" 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 = [ dependencies = [
"hashbrown 0.15.1", "hashbrown 0.15.1",
"hbbytecode", "hbbytecode",
@ -245,7 +245,7 @@ dependencies = [
[[package]] [[package]]
name = "hbvm" name = "hbvm"
version = "0.1.0" 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 = [ dependencies = [
"hbbytecode", "hbbytecode",
] ]

View file

@ -12,8 +12,8 @@ main := fn(): void {
log.info("client: window created. title:\0") log.info("client: window created. title:\0")
log.info(window.props.title) log.info(window.props.title)
window.props.position = .(500, 500) window.props.position = .(500, 500)
props := @unwrap(sunset.client.update_window_props(@unwrap(window))) props := @unwrap(sunset.client.update_window_props(window))
if props.position.x != @unwrap(window).props.position.x { if props.position.x != window.props.position.x {
log.error("client: we did not update props\0") log.error("client: we did not update props\0")
} }
log.info("client: sending shutdown request\0") log.info("client: sending shutdown request\0")

View file

@ -22,8 +22,8 @@ resolution = "1024x768x24"
[boot.limine.ableos.modules] [boot.limine.ableos.modules]
[boot.limine.ableos.modules.render_example] # [boot.limine.ableos.modules.render_example]
path = "boot:///render_example.hbf" # path = "boot:///render_example.hbf"
# [boot.limine.ableos.modules.horizon] # [boot.limine.ableos.modules.horizon]
# path = "boot:///horizon.hbf" # path = "boot:///horizon.hbf"