Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit 5957868

Browse files
author
bors-servo
authored
Auto merge of #294 - jdm:promisefeature, r=nox
Add feature to enable native promises. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/294) <!-- Reviewable:end -->
2 parents a4a693b + 267ba0d commit 5957868

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ doctest = false
2222

2323
[features]
2424
debugmozjs = ['mozjs_sys/debugmozjs']
25+
promises = ['mozjs_sys/promises']
2526

2627
[dependencies.mozjs_sys]
2728
git = "https://github.com/servo/mozjs"

0 commit comments

Comments
 (0)