You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/18 16:26:51 UTC

[GitHub] [incubator-nuttx-apps] ptka opened a new pull request #1014: apps: Enable Rust based application.

ptka opened a new pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014


   ## Summary
   Extend Application.mk and Make.defs to compile Rust based applications.
   
   ## Impact
   nothing as it's new
   
   ## Testing
   Simulation on MacBook Air M1 with Monterey 12.2.1 using rustc rustc 1.58.1 (stable) via Homebrew.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] ptka commented on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1045984745


   Yes, that's coming next. 
   
   There are three more steps to go:
   
   /1/ hello_rust
   /2/ add rust to CI set-up
   /3/ add defcondig sim:rust
   
   How can I get point /2/ addressed? Can you explain this to me?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] ptka edited a comment on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
ptka edited a comment on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1045984745


   Yes, that's coming next. 
   
   There are a couple of more steps to go to make Rust productive usable:
   
   /1/ hello_rust
   /2/ add rust to CI set-up
   /3/ add defcondig sim:rust
   /4/ add libc crate for Rust (potentially using bindgen --> current task)
   /5/ add a more complex application using libc crate
   /6/ enable access to hardware via specific crates
   /7/ add an example using the hardware crate
   /8/ test program to validate Rust on NuttX
   /9/ more will come as the journey goes on
   
   How can I get point /2/ addressed? Can you explain this to me?
   
   BTW: Once the support reaches a certain level of confidence, the documentation needs to be updated, too. No glue how this could work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1045981487


   @ptka could you add a hello rust program to demonstrate how to write rust application on NuttX?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] ptka commented on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
ptka commented on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1046037759


   Thanks for pointing to further documentation. Let me walk through them. I'll come back, if I have more questions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] ptka edited a comment on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
ptka edited a comment on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1045984745


   Yes, that's coming next. 
   
   There are a couple of more steps to go to make Rust productive usable:
   
   /1/ hello_rust
   /2/ add rust to CI set-up
   /3/ add defcondig sim:rust
   /4/ add libc crate for Rust (potentially using bindgen --> current task)
   /5/ enable access to hardware via specific crates
   /6/ more will come as the journey goes on
   
   How can I get point /2/ addressed? Can you explain this to me?
   
   BTW: Once the support reaches a certain level of confidence, the documentation needs to be updated, too. No glue how this could work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1046036224


   Very nice! I am exciting rust will be officially supported on NuttX by your effort:
   > Yes, that's coming next.
   > 
   > There are a couple of more steps to go to make Rust productive usable:
   > 
   > /1/ hello_rust /2/ add rust to CI set-up /3/ add defcondig sim:rust /4/ add libc crate for Rust (potentially using bindgen --> current task) /5/ add a more complex application using libc crate /6/ enable access to hardware via specific crates /7/ add an example using the hardware crate /8/ test program to validate Rust on NuttX /9/ more will come as the journey goes on
   > 
   > How can I get point /2/ addressed? Can you explain this to me?
   > 
   
   It's simple, you can reference these script files:
   https://github.com/apache/incubator-nuttx/blob/master/tools/ci/cibuild.sh
   https://github.com/apache/incubator-nuttx/blob/master/tools/testbuild.sh
   dock file:
   https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile
   test config:
   https://github.com/apache/incubator-nuttx/tree/master/tools/ci/testlist
   github hook:
   https://github.com/apache/incubator-nuttx/blob/master/.github/workflows/build.yml
   
   > BTW: Once the support reaches a certain level of confidence, the documentation needs to be updated, too. No glue how this could work.
   
   Maybe, you can add the new chapter in:
   https://github.com/apache/incubator-nuttx/tree/master/Documentation
   The ci will update the website automatically:
   https://nuttx.apache.org/docs/latest/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] xiaoxiang781216 edited a comment on pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 edited a comment on pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014#issuecomment-1046036224


   Very nice! I am very exciting that rust will be officially supported on NuttX by your effort:
   > Yes, that's coming next.
   > 
   > There are a couple of more steps to go to make Rust productive usable:
   > 
   > /1/ hello_rust /2/ add rust to CI set-up /3/ add defcondig sim:rust /4/ add libc crate for Rust (potentially using bindgen --> current task) /5/ add a more complex application using libc crate /6/ enable access to hardware via specific crates /7/ add an example using the hardware crate /8/ test program to validate Rust on NuttX /9/ more will come as the journey goes on
   > 
   > How can I get point /2/ addressed? Can you explain this to me?
   > 
   
   It's simple, you can reference these script files:
   https://github.com/apache/incubator-nuttx/blob/master/tools/ci/cibuild.sh
   https://github.com/apache/incubator-nuttx/blob/master/tools/testbuild.sh
   dock file:
   https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile
   test config:
   https://github.com/apache/incubator-nuttx/tree/master/tools/ci/testlist
   github hook:
   https://github.com/apache/incubator-nuttx/blob/master/.github/workflows/build.yml
   
   > BTW: Once the support reaches a certain level of confidence, the documentation needs to be updated, too. No glue how this could work.
   
   Maybe, you can add the new chapter in:
   https://github.com/apache/incubator-nuttx/tree/master/Documentation
   The ci will update the website automatically:
   https://nuttx.apache.org/docs/latest/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1014: apps: Enable Rust based application.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #1014:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1014


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org