Skip to content

Commit 605891f

Browse files
committed
fix(Node.js): allow compilation of mls-rs-core with all-features
1 parent c3f9c81 commit 605891f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mls-rs-core/src/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extern "C" {
5757
fn date_now() -> f64;
5858
}
5959

60-
#[cfg(all(target_arch = "wasm32", feature = "node"))]
60+
#[cfg(all(target_arch = "wasm32", feature = "node", not(feature = "web")))]
6161
#[wasm_bindgen(inline_js = r#"
6262
module.exports.date_now = function() {
6363
return Date.now();

0 commit comments

Comments
 (0)