-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c2rust-analyze/tests
: Convert the lighttpd_minimal
test to the us…
…e the `cargo` wrapper. This is done mostly as a proof of concept for now. Ideally we'd want to add it as a method on `Analyze`/`FileCheck` and handle error reporting better. Now that `lighttpd-minimal` is run with `cargo`, we don't need the `extern crate libc;` anymore.
- Loading branch information
Showing
4 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,4 @@ marks.*.json | |
# Outputs of `c2rust-analyze` | ||
inspect/ | ||
*.analysis.txt | ||
analysis.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
#![allow(unused_variables)] | ||
#![feature(extern_types)] | ||
|
||
extern crate libc; | ||
|
||
use libc::*; | ||
use std::mem; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters