File size: 434 Bytes
cd872f9
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[target.x86_64-unknown-linux-gnu]
pre-build = [
    "set -e",
    "apt-get update",
    "apt-get install -y --no-install-recommends build-essential protobuf-compiler pkg-config libssl-dev nodejs npm",
    "rm -rf /var/lib/apt/lists/*"
]

[target.x86_64-unknown-freebsd]
pre-build = [
    "pkg update",
    "pkg install -y node20 www/npm protobuf ca_root_nss bash gmake pkgconf openssl",
    "export SSL_CERT_FILE=/etc/ssl/cert.pem"
]