Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build #2

Open
hcyrs opened this issue May 5, 2020 · 1 comment
Open

Fail to build #2

hcyrs opened this issue May 5, 2020 · 1 comment

Comments

@hcyrs
Copy link

hcyrs commented May 5, 2020

~/works/yewtify$ cargo build
Compiling yewtify v0.0.0 (/home/xxxx/works/yewtify)
error: failed to run custom build command for yewtify v0.0.0 (/home/xxxx/works/yewtify)

Caused by:
process didn't exit successfully: /home/xxxx/works/yewtify/target/debug/build/yewtify-fe819398fe506c0c/build-script-build (exit code: 1)
--- stderr
Error: environment variable not found

@paulvt
Copy link

paulvt commented Jul 16, 2020

Yeah, build.rs uses the YEWTIFY_OUT environment variable, but this is not set for a plain cargo build.
See also: https://github.com/yewstack/yewtify/blob/master/build.rs#L13

It is set in examples/yewtify--example/run.sh but I also cannot get that to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants