pho ramen soba

Monday, 3 June 2024

building deno 1.44.0 with rust 1.78 on a raspberry pi 5

Rust 1.78 is available for this platform, so we'll build Deno from its sources via Rust. First, if you haven't already, install Rust following the very simple directions on the Rust website ( https://www.rust-lang.org/learn/get-started ). Be advis…
Read on blog or Reader
Site logo image Arcane Science Lab Read on blog or Reader

building deno 1.44.0 with rust 1.78 on a raspberry pi 5

whbeebe

June 3

Deno Rust Build
Deno built with Rust

Rust 1.78 is available for this platform, so we'll build Deno from its sources via Rust.

First, if you haven't already, install Rust following the very simple directions on the Rust website ( https://www.rust-lang.org/learn/get-started ). Be advised that you'll need to install curl and protobuf-compiler; the first to handle the installation of Rust, and the second to handle the build of deno. You should install these two packages before installing Rust and then using Rust to build deno.

After installing the two packages mentioned earlier and then installing Rust, perform cargo install deno and then go away for about 45 minutes until it's done.

Why do it this way? First because you should install Rust, and install it locally to your login account, not globally. Second, because once again if you use apt to install rust, you only get version 1.74, not the current 1.78 stable release. When you install rust using the website's method, you also get rustup, which allows you to keep your copy of Rust up-to-date. And if you want to do any kernel development you'll need an up-to-date kernel (which you do have) and versions of Rust greater than or equal to version 1.77. Third, when you build deno yourself you get a whole slew of Rust crates that you can tinker with in other projects. Finally, you should use deno over node.js because the same creator of node, Ryan Dahl, is also the creator of deno; deno is far more robust and secure than node.js.

Finally, to learn more about deno and how to use it, go to https://docs.deno.com/runtime/manual and have at it.

Comment
Like
You can also reply to this email to leave a comment.

Arcane Science Lab © 2024. Manage your email settings or unsubscribe.

WordPress.com and Jetpack Logos

Get the Jetpack app

Subscribe, bookmark, and get real-time notifications - all from one app!

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com Logo and Wordmark title=

Automattic, Inc. - 60 29th St. #343, San Francisco, CA 94110  

at June 03, 2024
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Featured Recipe: No-Bake PB&J Pie

Incredibly delicious vegan pie with a graham cracker crust, date-sweetened peanut butter mousse, and simple strawb...

  • Flourless pancakes
    Ingredients: 2 large ripe bananas 4 large eggs 1/2 teaspoon baking pow...
  • [New post] This tried-and-true Irish pub-inspired soup is creamy and thick with chunks of potatoes and leeks throughout.
    Emily Morgan posted: "This tried-and-true Irish pub-inspired soup is creamy and thick with chunks of potatoes and leeks thr...
  • Keto Chicken Pot Pie Casserole (Gluten-Free)
    INGREDIENTS US CustomaryMetric▢4 cups cooked chicken breast (roasted, rotisserie...

Search This Blog

  • Home

About Me

phoo, ramen, soba
View my complete profile

Report Abuse

Blog Archive

  • March 2026 (8)
  • February 2026 (13)
  • January 2026 (15)
  • December 2025 (17)
  • November 2025 (18)
  • October 2025 (21)
  • September 2025 (19)
  • August 2025 (28)
  • July 2025 (25)
  • June 2025 (28)
  • May 2025 (34)
  • April 2025 (36)
  • March 2025 (39)
  • February 2025 (36)
  • January 2025 (43)
  • December 2024 (46)
  • November 2024 (51)
  • October 2024 (44)
  • September 2024 (1172)
  • August 2024 (1572)
  • July 2024 (1413)
  • June 2024 (1289)
  • May 2024 (1362)
  • April 2024 (1472)
  • March 2024 (1827)
  • February 2024 (2413)
  • January 2024 (2936)
  • December 2023 (2135)
  • November 2023 (1639)
  • October 2023 (1285)
  • September 2023 (918)
  • August 2023 (864)
  • July 2023 (795)
  • June 2023 (800)
  • May 2023 (796)
  • April 2023 (754)
  • March 2023 (649)
  • February 2023 (736)
  • January 2023 (1159)
  • December 2022 (968)
  • November 2022 (921)
  • October 2022 (852)
  • September 2022 (708)
  • August 2022 (766)
  • July 2022 (877)
  • June 2022 (684)
  • May 2022 (716)
  • April 2022 (698)
  • March 2022 (781)
  • February 2022 (734)
  • January 2022 (955)
  • December 2021 (1387)
  • November 2021 (3002)
  • October 2021 (3213)
  • September 2021 (3188)
  • August 2021 (3232)
  • July 2021 (1697)
Powered by Blogger.