Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - <Query> [RUST compilation for QNX]: (5 Items)
   
<Query> [RUST compilation for QNX]  
 CAUTION - This email is from an external source. Please be cautious with links and attachments. (go/taginfo)

Hello,

Is it possible to compile RUST code for QNX?

Regards,
Manoj

-- 
***
This communication is confidential, may be privileged and is meant only 
for the intended recipient and purpose. No part of this email or any files 
transmitted with it can be shared, copied, forwarded or published online or 
offline, without prior written consent of the sender. If you are not the 
intended recipient, please preserve the confidentiality, delete the e-mail 
and attachments, if any from your system and inform the sender immediately. 
 

***





Attachment: HTML sf-attachment-mime40606 1.69 KB
Re: <Query> [RUST compilation for QNX]  
BlackBerry does not supply or support any LLVM-based toolchains at the moment.
Re: <Query> [RUST compilation for QNX]  
 CAUTION - This email is from an external source. Please be cautious with links and attachments. (go/taginfo)

Hello,

Thanks for the response. Is there any plan to support in the near future?

Regards,
Manoj

On Tue, Sep 20, 2022 at 4:24 PM Stephen Webb <community-noreply@qnx.com>
wrote:

> BlackBerry does not supply or support any LLVM-based toolchains at the
> moment.
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post121924
> To cancel your subscription to this discussion, please e-mail
> ostech-core_os-unsubscribe@community.qnx.com
>
> ----------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
>

-- 
***
This communication is confidential, may be privileged and is meant only 
for the intended recipient and purpose. No part of this email or any files 
transmitted with it can be shared, copied, forwarded or published online or 
offline, without prior written consent of the sender. If you are not the 
intended recipient, please preserve the confidentiality, delete the e-mail 
and attachments, if any from your system and inform the sender immediately. 
 

***





Attachment: HTML sf-attachment-mime40616 3.2 KB
Re: <Query> [RUST compilation for QNX]  
It is unlikely to be supported in the next SDP release.

Rust is still in constant flux with new and incompatible releases that arrive at a much faster cadence than the QNX SDP 
release cycle. We could choose to fix on an older release of Rust but that would not serve those who prefer the "move 
fast and break things" model, which is not completely appropriate to the embedded world. Since the upstream Rust 
developers do not support older versions of their product this would pose a considerable problem for QNX support.

Additionally, the Rust development ecosystem is a centralized one in which crates.io itself would need to serve binaries
 for QNX. Alternatively, developers could break with the cargo tool. There are very large problems with either of those 
approaches.

That said, there is nothing to stop an enterprising individual from making a Rust and Cargo development environment 
available for QNX. It just won't be coming from BlackBerry in the next SDP release.
Re: <Query> [RUST compilation for QNX]  
Dear Stephen,

is there any way for us to recompile GCC to newer versions and backends for QNX? This might enable gccrs (the Gnu 
implementation).