From Fedora Project Wiki

Revision as of 09:06, 1 February 2017 by Sumantrom (talk | contribs)

Description

This test case tests whether you complies the programs correctly.

Setup

  1. Ensure the Package-x-generic-16.pngrust package is installed

How to test

  1. Open a text editor and type in a basic program (one is given for you to execute)
main() 
{
    println!("Hello, Rust is running on Fedora now!");
}

# Save this in a file with name convention <filename>.rs
# Open terminal/konsole 
# Compile the file by executing rustc <filename>.rs
# Execute ./<filename>

Expected Results

# Hello, Rust is running on Fedora now! - will be displayed