Compare commits

..

6 Commits

Author SHA1 Message Date
11dc9771cc
Use bevy 2021-07-12 20:57:30 -05:00
6791c0cf48
Add cargo lock file 2021-07-12 20:57:18 -05:00
ad8852f4b8
Add bevy 2021-07-12 20:57:04 -05:00
bfa4d87ece
Add author 2021-07-12 20:56:52 -05:00
0ac3e87765
Add fast-build configuration for cargo 2021-07-12 20:56:29 -05:00
9a38783859
Use nightly rust 2021-07-12 20:55:57 -05:00
5 changed files with 3496 additions and 1 deletions

22
.cargo/config.toml Normal file
View File

@ -0,0 +1,22 @@
# Add the contents of this file to `config.toml` to enable "fast build" configuration. Please read the notes below.
# NOTE: For maximum performance, build using a nightly compiler
# If you are using rust stable, remove the "-Zshare-generics=y" below.
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
# `brew install michaeleisel/zld/zld`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=y"]
# Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only'
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.
#[profile.dev]
#debug = 1

3467
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,10 @@
[package] [package]
name = "adventure-game" name = "adventure-game"
version = "0.1.0" version = "0.1.0"
authors = ["Daniel Lynn <daniel.eric.lynn@gmail.com>"]
edition = "2018" edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
bevy = { version = "0.5", features = ["dynamic"] }

2
rust-toolchain Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "nightly"

View File

@ -1,3 +1,5 @@
use bevy::prelude::*;
fn main() { fn main() {
println!("Hello, world!"); App::build().run();
} }