Skip to content

Commit

Permalink
feat: qemu 9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arcnmx committed Sep 9, 2024
1 parent adc983f commit 946cef1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn type_identifier<S: AsRef<str>>(id: S) -> String {
fn identifier<S: AsRef<str>>(id: S) -> String {
let id = id.as_ref();
match id {
"type" | "static" | "virtual" | "abstract" | "in" | "if" | "enum" | "match" => format!("{}_", id),
"type" | "static" | "virtual" | "abstract" | "in" | "if" | "enum" | "match" | "use" => format!("{}_", id),
s if s.as_bytes()[0].is_ascii_digit() => format!("_{}", s),
id => id.replace("-", "_")
}
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
type = "github";
owner = "arcnmx";
repo = "qemu-qapi-filtered";
ref = "v7.2.0"; # keep in sync with schema submodule
ref = "v9.1.0"; # keep in sync with schema submodule
};
rust = {
url = "github:arcnmx/nixexprs-rust";
Expand Down
1 change: 0 additions & 1 deletion qmp/schema/qapi/rdma.json

This file was deleted.

1 change: 1 addition & 0 deletions qmp/schema/qapi/vfio.json

0 comments on commit 946cef1

Please sign in to comment.