How to add a custom toolchain #173
Unanswered
eureka-cpu
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think I see maybe two options:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, sort of running into a similar problem as what I described some time ago in #110 so I'm thinking of implementing a work around for fenix, but first I need to understand how a custom toolchain would be created. I've seen a few suggestions of using
toolchainOf
, but how exactly would I use that for a toolchain likesolana
which is derived from https://github.com/solana-labs/solana and is necessary for runningcargo-build-sbf
which usesrustup
under the hood to manage the cargo invocation to use their custom toolchain? I have the solana packages building with nix, and if I add rustup to mybuildInputs
the toolchainsolana
is there:which indicates to me that somewhere the components for the toolchain are available in my build. Is it possible to access those components and create the
solana
toolchain usingtoolchainOf
or some other fenix function?Beta Was this translation helpful? Give feedback.
All reactions