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

Build Environment and Runtime Environment #3

Open
lampofaladdin opened this issue Jan 18, 2024 · 0 comments
Open

Build Environment and Runtime Environment #3

lampofaladdin opened this issue Jan 18, 2024 · 0 comments

Comments

@lampofaladdin
Copy link

code

Path::new(env!("CARGO_MANIFEST_DIR")).join("assets").join("72x72");

Build Environment and Runtime Environment must be same Environment or throw an error;

called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

when I use docker

Runtime Environment : 160Mb

Build Environment + Runtime Environment: 3.4g

mabey use include_dir! is a good idea?

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

1 participant