diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c120317..fd9a7f2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,13 +15,13 @@ jobs: - name: Checkout aephysics uses: actions/checkout@v4 - # Pin: 0.796.0, the latest release (f32x8 arrived in 0.788.0, aether#2428, + # Pin: 0.797.0, the latest release (f32x8 arrived in 0.788.0, aether#2428, # which the wide contact solver is written in). A reproducible bootstrap # version: the floor this code needs, verified on Linux by this job. - name: Install the released Aether toolchain and aeb run: | curl -fsSL https://raw.githubusercontent.com/aether-lang-dev/aeb/main/get.sh \ - | AE_PIN=0.796.0 AEB_REF=v0.325 sh + | AE_PIN=0.797.0 AEB_REF=v0.325 sh echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Run the tests with ae @@ -54,7 +54,7 @@ jobs: - name: Install the released Aether toolchain and aeb run: | curl -fsSL https://raw.githubusercontent.com/aether-lang-dev/aeb/main/get.sh \ - | AE_PIN=0.796.0 AEB_REF=v0.325 sh + | AE_PIN=0.797.0 AEB_REF=v0.325 sh echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Run the tests with ae diff --git a/aephysics/files/module.ae b/aephysics/files/module.ae index e4cbc4d..ba67a65 100644 --- a/aephysics/files/module.ae +++ b/aephysics/files/module.ae @@ -168,8 +168,7 @@ read_float(r: *Reader) -> float { load_height_field(path: string) -> *HeightFieldData { text, length, err = fs.read_binary(path) if string.length(err) > 0 { return null } - // The reader takes the text over and frees it when it goes (aether#2602: - // a free through the local now would free it twice). + // The reader takes the text over and frees it when it goes. r = Reader { text: text, length: length, at: 0, ok: true } def = height_field.height_field_def() def.count_x = read_int(&r)