mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Remove our dependency on the gcc crate
This commit is contained in:
parent
02c758a226
commit
15b98e5dc3
3 changed files with 22 additions and 28 deletions
|
@ -2,10 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate gcc;
|
||||
extern crate cc;
|
||||
|
||||
fn main() {
|
||||
let mut cfg = gcc::Config::new();
|
||||
cfg.file("src/task_info.c");
|
||||
cfg.compile("libtask_info.a");
|
||||
cc::Build::new()
|
||||
.file("src/task_info.c")
|
||||
.compile("libtask_info.a");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue