Skip to content

Commit 8d40673

Browse files
Bump crate-ci/typos from 1.29.10 to 1.30.0 (#304)
* Bump crate-ci/typos from 1.29.10 to 1.30.0 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.29.10 to 1.30.0. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](crate-ci/typos@v1.29.10...v1.30.0) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fix typos, add excludes Signed-off-by: Simon Davies <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Simon Davies <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Simon Davies <[email protected]>
1 parent e3972d5 commit 8d40673

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

.github/workflows/ValidatePullRequest.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
steps:
6666
- uses: actions/checkout@v4
6767
- name: Spell Check Repo
68-
uses: crate-ci/typos@v1.29.10
68+
uses: crate-ci/typos@v1.30.0
6969

7070
# Gate PR merges on this specific "join-job" which requires all other
7171
# jobs to run first. We need this job since we cannot gate on particular jobs
@@ -86,4 +86,3 @@ jobs:
8686
- name: Previous jobs failed
8787
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
8888
run: exit 1
89-

src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ fn ensure_surrogate_process_exe() -> Result<()> {
335335

336336
if embedded_file_sha != file_on_disk_sha {
337337
println!(
338-
"sha of embedded surrorate '{}' does not match sha of file on disk '{}' - deleting surrogate binary at {}",
338+
"sha of embedded surrogate '{}' does not match sha of file on disk '{}' - deleting surrogate binary at {}",
339339
embedded_file_sha,
340340
file_on_disk_sha,
341341
&surrogate_process_path.display()

src/hyperlight_host/src/mem/mgr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ impl SandboxMemoryManager<HostSharedMemory> {
584584
// the guest manipulating this memory location because the only
585585
// addresses that are valid are in its own address space.
586586
//
587-
// When executing in-process, maniulating this pointer could cause the
587+
// When executing in-process, manipulating this pointer could cause the
588588
// host to execute arbitrary functions.
589589
let guest_ptr = GuestPtr::try_from(RawPtr::from(guest_dispatch_function_ptr))?;
590590
guest_ptr.absolute()

src/hyperlight_host/src/mem/shared_mem.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ unsafe impl Send for GuestSharedMemory {}
229229
/// sadly, mostly un-adopted for C++23, although that does not concern
230230
/// us), the paper did not actually redefine volatile accesses or data
231231
/// races to prevent volatile accesses from racing with other accesses
232-
/// and causing undefined behaviour. P1382R1 [5] would have amendend
232+
/// and causing undefined behaviour. P1382R1 [5] would have amended
233233
/// the wording of the data race definition to specifically exclude
234234
/// volatile, but, unfortunately, despite receiving a
235235
/// generally-positive reception at its first WG21 meeting more than
@@ -257,7 +257,7 @@ unsafe impl Send for GuestSharedMemory {}
257257
/// In short, none of the Rust-level operations available to us do the
258258
/// right thing, at the Rust spec level or the LLVM spec level. Our
259259
/// major remaining options are therefore:
260-
/// - Choose one of the options that is avaiblale to us, and accept
260+
/// - Choose one of the options that is available to us, and accept
261261
/// that we are doing something unsound according to the spec, but
262262
/// hope that no reasonable compiler could possibly notice.
263263
/// - Use inline assembly per architecture, for which we would only

src/hyperlight_host/src/sandbox/initialized_multi_use.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl MultiUseSandbox {
121121
/// // original `sbox` variable.
122122
/// let mut ctx = sbox.new_call_context();
123123
///
124-
/// // Do a guest call with the context. Assues that the loaded binary
124+
/// // Do a guest call with the context. Assumes that the loaded binary
125125
/// // ("some_guest_binary") has a function therein called "SomeGuestFunc"
126126
/// // that takes a single integer argument and returns an integer.
127127
/// match ctx.call(

typos.toml

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ extend-ignore-identifiers-re = ["Fo"]
33

44
[files]
55
extend-exclude = ["**/*.patch", "src/hyperlight_guest/third_party/**/*", "NOTICE.txt"]
6+
7+
[default.extend-words]
8+
# typ is used for field name as type is a reserved keyword
9+
typ="typ"

0 commit comments

Comments
 (0)