Skip to content

Commit dc0b82a

Browse files
committed
chore: hide autotls under compile flag
1 parent e83bd2d commit dc0b82a

File tree

8 files changed

+839
-811
lines changed

8 files changed

+839
-811
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ Enable quic transport support
119119
nim c -d:libp2p_quic_support some_file.nim
120120
```
121121

122+
Enable autotls support
123+
```bash
124+
nim c -d:libp2p_autotls_support some_file.nim
125+
```
126+
122127
Enable expensive metrics (ie, metrics with per-peer cardinality):
123128
```bash
124129
nim c -d:libp2p_expensive_metrics some_file.nim

libp2p.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ proc runTest(filename: string, moreoptions: string = "") =
3030
excstr.add(" " & moreoptions & " ")
3131
if getEnv("CICOV").len > 0:
3232
excstr &= " --nimcache:nimcache/" & filename & "-" & $excstr.hash
33-
exec excstr & " -r -d:libp2p_quic_support tests/" & filename
33+
exec excstr & " -r -d:libp2p_quic_support -d:libp2p_autotls_support tests/" & filename
3434
rmFile "tests/" & filename.toExe
3535

3636
proc buildSample(filename: string, run = false, extraFlags = "") =

0 commit comments

Comments
 (0)