mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
rustup update (#238)
This commit is contained in:
parent
a79da96307
commit
2f63addede
@ -166,7 +166,7 @@ fn target_options() -> Target {
|
||||
emit_debug_gdb_scripts: false,
|
||||
linker_flavor: LinkerFlavor::Ld,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
target_os: "unknown".to_string(),
|
||||
os: "unknown".to_string(),
|
||||
// TODO: Investigate if main_needs_argc_argv is useful (for building exes)
|
||||
main_needs_argc_argv: false,
|
||||
..Default::default()
|
||||
|
@ -410,7 +410,7 @@ pub fn parse_attrs(
|
||||
let result =
|
||||
attrs.iter().flat_map(|attr| {
|
||||
let is_spirv = match attr.kind {
|
||||
AttrKind::Normal(ref item) => {
|
||||
AttrKind::Normal(ref item, _) => {
|
||||
// TODO: We ignore the rest of the path. Is this right?
|
||||
let last = item.path.segments.last();
|
||||
last.map_or(false, |seg| seg.ident.name == cx.sym.spirv)
|
||||
|
@ -1 +1 @@
|
||||
nightly-2020-11-09
|
||||
nightly-2020-11-13
|
||||
|
@ -1,6 +1,6 @@
|
||||
setlocal
|
||||
|
||||
rustup toolchain install nightly-2020-11-09 --component rust-src rustc-dev llvm-tools-preview
|
||||
rustup toolchain install nightly-2020-11-13 --component rust-src rustc-dev llvm-tools-preview
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
Loading…
Reference in New Issue
Block a user