Skip to content

Commit 05cdbb3

Browse files
committed
Update ring dependency
Signed-off-by: Nick Spinale <[email protected]>
1 parent afa7a3d commit 05cdbb3

File tree

7 files changed

+21
-12
lines changed

7 files changed

+21
-12
lines changed

Cargo.lock

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

Cargo.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
members = lib.naturalSort (lib.mapAttrsToList (_: v: v.path) localCrates);
2525
};
2626
patch.crates-io = {
27-
ring = {
27+
ring = localCrates.ring or {
2828
git = "https://github.com/coliasgroup/ring.git";
29-
rev = "0e644b7837cffcd53a3ff67d7f478801b4e9e0ed";
29+
rev = "c5880ee6ae56bb684f5bb2499f1c05cef8943745"; # branch sel4
3030
};
3131
};
3232
}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ members = [
148148

149149
[patch.crates-io.ring]
150150
git = "https://github.com/coliasgroup/ring.git"
151-
rev = "0e644b7837cffcd53a3ff67d7f478801b4e9e0ed"
151+
rev = "c5880ee6ae56bb684f5bb2499f1c05cef8943745"

crates/examples/microkit/http-server/pds/server/Cargo.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: BSD-2-Clause
55
#
66

7-
{ mk, localCrates, versions, serdeWith, smoltcpWith, ringWith }:
7+
{ mk, localCrates, versions, serdeWith, smoltcpWith }:
88

99
mk {
1010
package.name = "microkit-http-server-example-server";

crates/sel4-async/network/rustls/utils/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ license = "BSD-2-Clause"
1919
[dependencies]
2020
getrandom = { version = "0.2.10", features = ["custom"] }
2121
rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
22-
ring = { version = "=0.17.8", features = ["less-safe-getrandom-custom-or-rdrand"] }
2322
rustls = { version = "0.23.5", default-features = false, features = ["logging", "ring", "tls12"] }
2423
sel4-async-time = { path = "../../../time" }
24+
25+
[dependencies.ring]
26+
version = "=0.17.8"
27+
features = ["less-safe-getrandom-custom-or-rdrand", "less-correct-none-os-has-linux-abi"]

hacking/cargo-manifest-management/manifest-scope.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,10 @@ in rec {
196196

197197
ringWith = features: {
198198
version = "=0.17.8";
199-
features = [ "less-safe-getrandom-custom-or-rdrand" ] ++ features;
199+
features = [
200+
"less-safe-getrandom-custom-or-rdrand"
201+
"less-correct-none-os-has-linux-abi"
202+
] ++ features;
200203
};
201204

202205
rustlsWith = features: {

hacking/nix/scope/world/instances/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ in rec {
9292
tests.root-task.verus
9393
tests.root-task.dafny
9494
tests.root-task.default-test-harness
95-
# tests.root-task.ring
9695
tests.capdl.threads
9796
tests.capdl.utcover
9897
microkit.examples.hello
@@ -105,6 +104,8 @@ in rec {
105104
examples.root-task.spawn-thread
106105
examples.root-task.spawn-task
107106
examples.root-task.serial-device
107+
108+
# tests.root-task.ring
108109
];
109110

110111
allAutomationScripts = map
@@ -237,6 +238,7 @@ in rec {
237238
};
238239
});
239240

241+
# ring at 8c665d20ed7621b81d8f4ad564cb7f43a02d42ad (sel4-testing)
240242
ring = maybe (haveFullRuntime && haveUnwindingSupport && !hostPlatform.isRiscV32 && !hostPlatform.isx86) (
241243
let
242244
rootTask = lib.makeOverridable mkTask {
@@ -245,6 +247,7 @@ in rec {
245247
justBuildTests = true;
246248
features = [
247249
"less-safe-getrandom-custom-or-rdrand"
250+
"less-correct-none-os-has-linux-abi"
248251
# "slow_tests"
249252
];
250253
release = true;

0 commit comments

Comments
 (0)