Skip to content

Commit c5e5754

Browse files
author
Ellen Arteca
committed
C FFI support for functions with int args and returns (rebasing from current master)
1 parent 7d5ae09 commit c5e5754

File tree

498 files changed

+4503
-2876
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

498 files changed

+4503
-2876
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ target
22
/doc
33
tex/*/out
44
*.dot
5+
*.out
56
*.rs.bk
67
.vscode
78
*.mm_profdata
89
perf.data
910
perf.data.old
1011
flamegraph.svg
12+
tests/external_C/libtestlib.so

CONTRIBUTING.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ install that exact version of rustc as a toolchain:
2828
This will set up a rustup toolchain called `miri` and set it as an override for
2929
the current directory.
3030

31-
If you want to also have `clippy` installed, you need to run this:
32-
```
33-
./rustup-toolchain "" -c clippy
34-
```
35-
3631
[`rustup-toolchain-install-master`]: https://github.com/kennytm/rustup-toolchain-install-master
3732

3833
## Building and testing Miri
@@ -131,6 +126,8 @@ development version of Miri using
131126

132127
and then you can use it as if it was installed by `rustup`. Make sure you use
133128
the same toolchain when calling `cargo miri` that you used when installing Miri!
129+
Usually this means you have to write `cargo +miri miri ...` to select the `miri`
130+
toolchain that was installed by `./rustup-toolchain`.
134131

135132
There's a test for the cargo wrapper in the `test-cargo-miri` directory; run
136133
`./run-test.py` in there to execute it. Like `./miri test`, this respects the

Cargo.lock

+232
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)