using own git repo as dependencies? #1058
-
Trying to add a personal repo as dependency, anyone has done it before? Modified the compiler/base/Cargo.toml. it wasn't picked up. any ideas? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
If you are building your own playground, then once you've modified the If you mean you'd want to use your own git repo in an officially hosted playground, that will not happen for security reasons. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. I do host my own playground with some
modifications to the compiler scripts, trying to include my own repo in
Cargo.toml, couldn’t picked up while docker running. Anything I’m missing
in addition to add an entry to Cargo.toml?
…On Tue, May 7, 2024 at 08:30 Jake Goulding ***@***.***> wrote:
If you are building your own playground, then once you've modified the
Cargo.toml you'll need to rebuild the Docker containers
<https://github.com/rust-lang/rust-playground/blob/main/compiler/build.sh>
.
If you mean you'd want to use your own git repo in an officially hosted
playground, that will not happen for security reasons.
—
Reply to this email directly, view it on GitHub
<#1058 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABKIKKP63QN46MP2KEV4HDZBDXTDAVCNFSM6AAAAABHLFAWCSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TGNBTGQ4TE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Rebuilding is fine, the problem I have is trying to import the one added in
editor, compiling throws error that crates not included.
…On Tue, May 7, 2024 at 08:52 Jake Goulding ***@***.***> wrote:
What happens when you rebuild the containers
<https://github.com/rust-lang/rust-playground/blob/main/compiler/build.sh>?
Is there an error?
—
Reply to this email directly, view it on GitHub
<#1058 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABKIKLKBWTVRLBO5OK6ZTTZBD2EDAVCNFSM6AAAAABHLFAWCSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TGNBTG42DI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
figured out that dependencies will be removed when target set to wasm.