1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)

Implements support for `#include <openssl/rand.h> # Please install OpenSSL`.
This commit is contained in:
Delyan Angelov
2020-10-17 18:27:06 +03:00
committed by GitHub
parent aad122334b
commit 3c2202572b
13 changed files with 119 additions and 52 deletions

View File

@@ -70,7 +70,7 @@ pub fn (mut app App) settings(username string) vweb.Result {
}
['/:user/:repo/settings']
pub fn (mut app App) user_repo_settings(username, repository string) vweb.Result {
pub fn (mut app App) user_repo_settings(username string, repository string) vweb.Result {
if username !in known_users {
return app.vweb.not_found()
}