Skip to content

Commit 96ae44a

Browse files
authored
[2.0.0] Fix CI builds (#5219)
* Fix instruction size test for Rust 1.65.0 (#5188) Looks like Rust generously shrank our `enum` in 1.65.0, so update the test assertion to pass CI. * Use an alternate doxygen download link (#5150) * Use an alternate doxygen download link Looks like doxygen.nl is down otherwise. * Update link
1 parent 516b959 commit 96ae44a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
# Build C API documentation
8383
- run: sudo apt-get update -y && sudo apt-get install -y libclang1-9 libclang-cpp9
84-
- run: curl -L https://www.doxygen.nl/files/doxygen-1.9.3.linux.bin.tar.gz | tar xzf -
84+
- run: curl -L https://sourceforge.net/projects/doxygen/files/rel-1.9.3/doxygen-1.9.3.linux.bin.tar.gz/download | tar xzf -
8585
- run: echo "`pwd`/doxygen-1.9.3/bin" >> $GITHUB_PATH
8686
- run: cd crates/c-api && doxygen doxygen.conf
8787

cranelift/codegen/src/isa/x64/inst/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub struct CallInfo {
4848
fn inst_size_test() {
4949
// This test will help with unintentionally growing the size
5050
// of the Inst enum.
51-
assert_eq!(48, std::mem::size_of::<Inst>());
51+
assert_eq!(40, std::mem::size_of::<Inst>());
5252
}
5353

5454
pub(crate) fn low32_will_sign_extend_to_64(x: u64) -> bool {

0 commit comments

Comments
 (0)