Remove static usage at compile-time of GIT_INFO to enable builds outside of a git repo

This commit is contained in:
Lars Bergstrom 2016-08-26 16:38:03 -05:00
parent 8e39313321
commit bdf4563c6a
2 changed files with 8 additions and 3 deletions

View file

@ -355,7 +355,7 @@ unsafe fn build_mozbrowser_event_detail(event: MozBrowserEvent,
type_: Some(DOMString::from(error_type.name())),
description: Some(DOMString::from(description)),
report: Some(DOMString::from(report)),
version: Some(DOMString::from_string(servo_version().into())),
version: Some(DOMString::from_string(servo_version())),
}.to_jsval(cx, rval);
},
MozBrowserEvent::SecurityChange(https_state) => {