Merge pull request #300 from ZystemOS/feature/zig-update

Update to zig master (0d92bd474)
This commit is contained in:
Sam Tebbs 2021-04-27 19:41:10 +01:00 committed by GitHub
commit f774793c60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
test: test:
name: Build mode ${{ matrix.build_mode }} name: Build mode ${{ matrix.build_mode }}
runs-on: ubuntu-latest runs-on: ubuntu-18.04
strategy: strategy:
matrix: matrix:
build_mode: ["", -Drelease-fast, -Drelease-safe, -Drelease-small] build_mode: ["", -Drelease-fast, -Drelease-safe, -Drelease-small]

View file

@ -264,7 +264,7 @@ const RamdiskStep = struct {
out_file_path: []const u8, out_file_path: []const u8,
/// The possible errors for creating a ramdisk /// The possible errors for creating a ramdisk
const Error = (error{EndOfStream} || File.ReadError || File.GetPosError || Allocator.Error || File.WriteError || File.OpenError); const Error = (error{EndOfStream} || File.ReadError || File.SeekError || Allocator.Error || File.WriteError || File.OpenError);
/// ///
/// Create and write the files to a raw ramdisk in the format: /// Create and write the files to a raw ramdisk in the format: