10000 support including Blobs from the file system during build · Issue #4934 · dfinity/motoko · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

support including Blobs from the file system during build #4934

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

Open
letmejustputthishere opened this issue Mar 5, 2025 · 1 comment · May be fixed by #4935
Open

support including Blobs from the file system during build #4934

letmejustputthishere opened this issue Mar 5, 2025 · 1 comment · May be fixed by #4935
Assignees

Comments

@letmejustputthishere
Copy link
Member

currently it is not possible to bake a wasm file into a motoko canister during build. this is important when building canister factories that spin up canisters implemented in other languages (e.g. rust).

more context in this conversation

https://dfinity.slack.com/archives/CPVUFG8UV/p1706696583354589

@rvanasa
Copy link
Contributor
rvanasa commented Mar 5, 2025

I agree that it would be valuable to have a way to load binary and text files, similar to Rust's include_bytes!() and include_str!().

Closely-related issue from the early days of Motoko: #892.

@ggreif ggreif linked a pull request Mar 5, 2025 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

3 participants
0