Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active October 12, 2024 21:22
Show Gist options
  • Save dacr/3129c2bac94c0b86724d3c50191de065 to your computer and use it in GitHub Desktop.
Save dacr/3129c2bac94c0b86724d3c50191de065 to your computer and use it in GitHub Desktop.
rust hello / published by https://github.com/dacr/code-examples-manager #cdb91a18-e4b3-4430-a708-7e341a4cb5ef/7b4bdceca457c4227440e65483ebc0a25d86ffaa
#!/usr/bin/env rust-script
// summary : rust hello
// keywords : rust, hello-world, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : cdb91a18-e4b3-4430-a708-7e341a4cb5ef
// created-on : 2023-11-11T15:23:31.602Z
// managed-by : https://github.com/dacr/code-examples-manager
// run-with : ./$file
/*
* runnable from nix using :
* nix-shell -p rustc -p rust-script -p cargo --command ./hello.rs
*/
fn main() {
println!("Hello Rust !");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment