forked from vieter-v/vieter
Added builder patch for public sha256 functions
parent
21c8e28e64
commit
cb492cadc6
|
@ -5,3 +5,9 @@
|
||||||
|
|
||||||
# Add parse_request_no_body
|
# Add parse_request_no_body
|
||||||
cat parse_request_no_body.v >> "$1"/vlib/net/http/request.v
|
cat parse_request_no_body.v >> "$1"/vlib/net/http/request.v
|
||||||
|
|
||||||
|
# Make sha256 functions public
|
||||||
|
sed -i \
|
||||||
|
-e 's/\(fn (mut d Digest) checksum(\)/pub \1/' \
|
||||||
|
-e 's/\(fn (mut d Digest) write(\)/pub \1/' \
|
||||||
|
"$1"/vlib/crypto/sha256/sha256.v
|
||||||
|
|
Loading…
Reference in New Issue