mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Build servo as a library
This commit is contained in:
parent
596913ee91
commit
f36a834f0d
2 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,9 @@ CLEAN_DEPS += \
|
|||
all: servo package
|
||||
|
||||
servo: $(SERVO_DEPS)
|
||||
$(RUSTC) $(RUSTFLAGS) -o $@ $< --bin
|
||||
|
||||
libservo.dummy: $(SERVO_DEPS)
|
||||
$(RUSTC) $(RUSTFLAGS) -o $@ $<
|
||||
|
||||
servo-test: $(SERVO_DEPS)
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#[comment = "The Servo Parallel Browser Project"];
|
||||
#[license = "MPL"];
|
||||
#[crate_type = "lib"];
|
||||
|
||||
use std;
|
||||
use sdl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue