Skip to content

Commit 18cb8ed

Browse files
authored
[meta] patch whoami (#5184)
Patch it to fix memory corruption on illumos.
1 parent ac78673 commit 18cb8ed

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

Cargo.lock

+27-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,11 @@ opt-level = 3
621621
git = 'https://github.com/oxidecomputer/pq-sys'
622622
branch = "oxide/omicron"
623623

624+
# See https://github.com/oxidecomputer/security-operations/issues/43.
625+
[patch.crates-io.whoami]
626+
git = "https://github.com/oxidecomputer/whoami"
627+
branch = "use-nix"
628+
624629
# Using the workspace-hack via this patch directive means that it only applies
625630
# while building within this workspace. If another workspace imports a crate
626631
# from here via a git dependency, it will not have the workspace-hack applied

0 commit comments

Comments
 (0)