This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const Builder = std.build.Builder; | |
| pub fn build(b: *Builder) void { | |
| const mode = b.standardReleaseOptions(); | |
| var exe = b.addExecutable("game", "src/main.zig"); | |
| exe.setBuildMode(mode); | |
| exe.addLibPath("lib"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/p/f/g/dodger (master|✔) 1 $ cargo run | |
| Finished dev [unoptimized + debuginfo] target(s) in 0.25s | |
| Running `target/debug/dodger` | |
| [INFO][winit::platform::platform::x11::window] Guessed window DPI factor: 1.8333333333333333 | |
| [DEBUG][winit::platform::platform::x11::window] Calculated physical dimensions: 500x500 | |
| [INFO][gfx_device_gl::info] parsing version '4.5 (Core Profile) Mesa 18.1.7' | |
| [INFO][gfx_device_gl::info] parsing version '4.50' | |
| [INFO][gfx_device_gl] Info { platform_name: PlatformName { vendor: "Intel Open Source Technology Center", renderer: "Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) " }, version: 4.5, shading_language: 4.50, extensions: {"GL_NV_depth_clamp", "GL_INTEL_performance_query", "GL_ARB_pipeline_statistics_query", "GL_ARB_texture_query_levels", "GL_ARB_map_buffer_range", "GL_ARB_draw_elements_base_vertex", "GL_AMD_vertex_shader_layer", "GL_ARB_texture_multisample", "GL_ARB_shader_texture_lod", "GL_NV_packed_depth_stencil", "GL_ARB_gpu_shader_fp64", "GL_KHR_no_error", "GL_EXT_sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz); | |
| nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; | |
| in | |
| with nixpkgs; | |
| stdenv.mkDerivation { | |
| name = "veloren-env"; | |
| buildInputs = [ | |
| (nixpkgs.rustChannelOf { date = "2019-04-11"; channel = "nightly"; }).rust | |
| git |
NewerOlder