Skip to content

Commit ecae9a2

Browse files
committedSep 16, 2023
crate type swap on rs integration testing
We need to be able to do this: rust-lang/rust#20267
1 parent c22edcb commit ecae9a2

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed
 

‎.github/workflows/rs-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Integration Tests
3838
run: |
3939
cd core/rs/integration-check
40-
cargo test
40+
./test.sh
4141
4242
- name: Test Core
4343
run: |

‎.github/workflows/rs-valgrind.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Integration Tests
3636
run: |
3737
cd core/rs/integration-check
38-
cargo valgrind test
38+
./test-valgrind.sh
3939
4040
- name: Test Core
4141
run: |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sed -i .bk 's/crate-type = \["staticlib"\]/crate-type = \["rlib"\]/' ../bundle/Cargo.toml
2+
cargo valgrind test
3+
mv ../bundle/Cargo.toml.bk ../bundle/Cargo.toml

‎core/rs/integration-check/test.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sed -i .bk 's/crate-type = \["staticlib"\]/crate-type = \["rlib"\]/' ../bundle/Cargo.toml
2+
cargo test
3+
mv ../bundle/Cargo.toml.bk ../bundle/Cargo.toml

‎core/src/util.h

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define CRSQLITE_UTIL
33

44
#include <ctype.h>
5+
#include <stddef.h>
56

67
#include "crsqlite.h"
78

0 commit comments

Comments
 (0)