Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove libgreen support. #123

Merged
merged 1 commit into from Dec 3, 2014
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove libgreen support.

  • Loading branch information
Cameron Zwarich
Cameron Zwarich committed Dec 3, 2014
commit e0303050c3b7ef0711f3ee48a6addc343a4789ae
@@ -12,11 +12,3 @@ debugmozjs = ['mozjs-sys/debugmozjs']
[dependencies.mozjs-sys]

git = "https://github.com/servo/mozjs"

[dependencies.green]
git = "https://github.com/servo/green-rs"
branch = "servo"

[dependencies.rustuv]
git = "https://github.com/servo/green-rs"
branch = "servo"
@@ -9,14 +9,9 @@

#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, improper_ctypes)]

#![reexport_test_harness_main = "test_main"]

extern crate green;
extern crate libc;
#[phase(plugin, link)]
extern crate log;
#[cfg(test)]
extern crate rustuv;
extern crate serialize;

use libc::c_uint;
@@ -130,13 +125,6 @@ pub unsafe fn JS_CALLEE(_cx: *mut JSContext, vp: *mut JSVal) -> JSVal {
*vp
}

// Run tests with libgreen instead of libnative.
#[cfg(test)]
#[start]
fn start(argc: int, argv: *const *const u8) -> int {
green::start(argc, argv, rustuv::event_loop, test_main)
}

pub type JSObjectOp = extern "C" fn(*mut JSContext, JSHandleObject) -> *mut JSObject;

pub struct Class {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.