diff --git a/.circleci/config.yml b/.circleci/config.yml index ae1bf7c1bf226f77399a7232d8973b319414c7a1..53b7ac2fb9ba3e620bf79eb411633476dc34839b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: - run: git submodule update --init --recursive - run: apt -y install xz-utils jq - - run: ./download_zig.sh 0.9.0-dev.1444+e2a2e6c14 + - run: ./download_zig.sh 0.9.0-dev.1524+d2f9646d9 - run: zig version - run: zig env - run: zig build -Dbootstrap diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b4c37533dc44104a357dc1b41d59ca6123bcf3f6..b6093419dc307a88537fb666b9004eeb4e2d3bf8 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Zig uses: goto-bus-stop/setup-zig@v1 with: - version: 0.9.0-dev.1444+e2a2e6c14 + version: 0.9.0-dev.1524+d2f9646d9 - run: zig version - run: zig env diff --git a/README.md b/README.md index 3e88f591e38f9a36dc8c095dcf65909180eac9f7..7795416f63070803ff5957a85862b4c42614ed2b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A package manager for the Zig programming language. - https://github.com/nektro/zigmod/releases ## Built With -- Zig master `0.9.0-dev.1343+75cecef63` +- Zig master `0.9.0-dev.1524+d2f9646d9` - https://github.com/yaml/libyaml - https://github.com/nektro/zig-ansi - https://github.com/ziglibs/known-folders diff --git a/docs/README.md b/docs/README.md index 2123298a13661af29f4c09283998f0baad6535e1..d31e525b1dfdd06d1c9abe28dadf7490b21e3072 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master. -The most recent release Zigmod was verified to work with is `0.9.0-dev.1343+75cecef63`. +The earliest Zig release this Zigmod was verified to work with is `0.9.0-dev.1524+d2f9646d9`. ## Download You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. diff --git a/src/util/funcs.zig b/src/util/funcs.zig index a6b81b882c8ce427318c5180ecab10c4c967916b..b84c562c5913118661b6ab17e750d90e2f74c26c 100644 --- a/src/util/funcs.zig +++ b/src/util/funcs.zig @@ -172,7 +172,7 @@ const alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"; pub fn random_string(alloc: *std.mem.Allocator, len: usize) !string { const now = @intCast(u64, std.time.nanoTimestamp()); var rand = std.rand.DefaultPrng.init(now); - const r = &rand.random; + const r = &rand.random(); var buf = try alloc.alloc(u8, len); var i: usize = 0; while (i < len) : (i += 1) { diff --git a/zigmod.lock b/zigmod.lock index 0caaf39c12042a5ea5cd283ce4d8fba6ffe7cff6..d2aeb0d60b171c41b800f6acc335fc92d919eafe 100644 --- a/zigmod.lock +++ b/zigmod.lock @@ -1,6 +1,6 @@ 2 git https://github.com/yaml/libyaml tag-0.2.5 -git https://github.com/nektro/iguanaTLS commit-954fd016964d44dfe8648985fd7c06f0067be6b0 +git https://github.com/nektro/iguanaTLS commit-a48976beb7135b472ce8aa2f276df3b8eb775440 git https://github.com/nektro/zig-ansi commit-d4a53bcac5b87abecc65491109ec22aaf5f3dc2f git https://github.com/ziglibs/known-folders commit-a282c26da51e5d2c01fec5c744e321ae248cf409 git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f84020e7680