don't bother with erroring on shared build with version number

This commit is contained in:
dzaima 2023-04-22 17:18:38 +03:00
parent 3e9f1ce1b0
commit 828f5415f6

View File

@ -179,8 +179,7 @@ po ← { # parsed options
wasi GetOpt "wasi"
usz •ParseFloat GetOpt "usz"
{𝕊: "Error: usz can only be 32 or 64"}_assert_ usz3264
versionName {compat shared? @; "0"@ GetOpt "v"}
{𝕊: "Error: Specifying version for shared build is useless"}_assert_¬ shared versionName""
versionName {shared? @; "0"@ GetOpt "v"}
wasm wasiemcc
cc {emcc? "emcc"; "clang"} DOpt "CC"