You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(build): fix build failure and instructions (mozilla#3031)
- handling error in `neqo-crypto/build.rs` by defaulting to
`NSS_TARGET=Release` if it is not set and we don't have a prior build
to reference the latest target from
- overhauled the README instructions for building with seperate NSS
Signed-off-by: Oskar Mansfeld <git@omansfeld.net>
3. Run `cargo build` in your `neqo` checkout. The prior steps enable `cargo build` to use the existing NSS build or build it from the existing checkout if it hasn't been built yet.
53
50
54
-
### macOS
51
+
4. Now that NSS has been built you need to set another environment variable to be able to actually do anything that depends on NSS.
5. (optional) After having an NSS build you can set the `NSS_PREBUILT=1` environment variable to skip building NSS again on future `cargo build` invocations.
59
65
60
-
Note: If you did not already compile NSS separately, you need to have
61
-
[Mercurial (hg)][HG], installed. NSS builds require [GYP][GYP] and
62
-
[Ninja][NINJA] to be installed.
66
+
To confirm the NSS setup works you can run `cargo test -p neqo-crypto --lib`.
0 commit comments