Skip to content

Commit

Permalink
Basic backports from main (codegen-units = 1, latest nightly).
Browse files Browse the repository at this point in the history
  • Loading branch information
kkysen committed Jun 8, 2024
1 parent 611b22b commit c568f5c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 27 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ compile_commands.json

# Rust
target/

# Too Large Tests
/tests/argon
/tests/large

/retranspile/

.gdb_history
.gdbinit
47 changes: 22 additions & 25 deletions Cargo.lock

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

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ crate-type = ["staticlib", "rlib"]
path = "tools/dav1d.rs"
name = "dav1d"
[dependencies]
c2rust-bitfields= "0.3"
c2rust-bitfields = "0.18"
cfg-if = "1.0.0"
libc= "0.2"
num_cpus = "1.0"
Expand All @@ -31,3 +31,8 @@ default = ["asm", "bitdepth_8", "bitdepth_16"]
asm = []
bitdepth_8 = []
bitdepth_16 = []

[profile.release]
codegen-units = 1
panic = "abort"
strip = true
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2022-08-08"
channel = "nightly-2024-06-08"
components = []

0 comments on commit c568f5c

Please sign in to comment.