forked from vieter-v/vieter
Added builder patch for public sha256 functions
This commit is contained in:
parent
21c8e28e64
commit
cb492cadc6
1 changed files with 6 additions and 0 deletions
|
|
@ -5,3 +5,9 @@
|
|||
|
||||
# Add parse_request_no_body
|
||||
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…
Add table
Add a link
Reference in a new issue