Skip to content
Snippets Groups Projects
Select Git revision
  • 692c71db525c00e48e49068bd18daee972c30d94
  • master default
  • claim_mut_new
  • nested_resources
  • test_roread
  • noread
  • v0.2.0
  • v0.1.1
  • v0.1.0
9 results

doc.md

Blame
  • script.sh 639 B
    set -euxo pipefail
    
    main() {
        case $TARGET in
            thumb*m-none-eabi)
                xargo check --target $TARGET
                ;;
            x86_64-unknown-linux-gnu)
                cargo check --target $TARGET
    
                cargo test --target $TARGET
                cargo test --target $TARGET --release
    
                export TSAN_OPTIONS="suppressions=$(pwd)/blacklist.txt"
                export RUSTFLAGS="-Z sanitizer=thread"
    
                cargo test --test tsan --target $TARGET
                cargo test --test tsan --target $TARGET --release
                ;;
            *)
                # unhandled case
                exit 1
                ;;
        esac
    }
    
    main