Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ concurrency:
jobs:
runtests:
name: Continuous Integration
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@

### Inspecting USB

To check whether your operating system identifies OpenSK over USB, try `lsusb`
or `dmesg`.
To check whether your operating system identifies OpenSK over USB:

On Linux, try `lsusb` or `dmesg`.

On macOS, use the `ioreg` tool:

```sh
ioreg -p IOUSB
```

### Debug console

Expand Down
3 changes: 2 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Installation guide

This document lists required steps to start build your own OpenSK.
This document lists required steps to start building your own OpenSK.
OpenSK installation is supported and tested under Linux and macOS.

OpenSK is installed as a native [Wasefire](https://github.com/google/wasefire)
applet.
Expand Down
24 changes: 10 additions & 14 deletions libraries/cbor/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,21 +93,17 @@ pub fn destructure_cbor_map_peek_value(
needle: Value,
) -> Option<Value> {
loop {
match it.peek() {
None => return None,
Some(item) => {
let key: &Value = &item.0;
match key.cmp(&needle) {
Ordering::Less => {
it.next();
}
Ordering::Equal => {
let value: Value = it.next().unwrap().1;
return Some(value);
}
Ordering::Greater => return None,
}
let item = it.peek()?;
let key: &Value = &item.0;
match key.cmp(&needle) {
Ordering::Less => {
it.next();
}
Ordering::Equal => {
let value: Value = it.next().unwrap().1;
return Some(value);
}
Ordering::Greater => return None,
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2025-11-07"
channel = "nightly-2026-06-03"
components = ["clippy", "miri", "rustfmt", "rust-src"]
targets = ["thumbv7em-none-eabi"]
2 changes: 1 addition & 1 deletion third_party/wasefire
Submodule wasefire updated 293 files
Loading