Skip to content

Commit 8046490

Browse files
Chore: port to mojo-0.25.6.0.dev2025091705 (#42)
1 parent 1b73dcb commit 8046490

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

firebolt/buffers.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct Buffer(Movable):
6262
@staticmethod
6363
fn alloc[I: Intable, //, T: DType = DType.uint8](length: I) -> Buffer:
6464
var size = _required_bytes(Int(length), T)
65-
var ptr = UnsafePointer[UInt8].alloc[alignment=64](size)
65+
var ptr = UnsafePointer[UInt8].alloc(size, alignment=64)
6666
memset_zero(ptr.bitcast[UInt8](), size)
6767
return Buffer(ptr, size)
6868

pixi.lock

Lines changed: 50 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)