Comments (2)
This will happen in mid-late May, after SYCL.
from mach.
Tips for upgrading your code
build.zig
.{ .path = "foo" }
->b.path("foo")
:lib.installHeader("src/c/m3d.h", "m3d.h");
->lib.installHeader(b.path("src/c/m3d.h"), "m3d.h");
lib.installHeaders
andlib.installHeadersDirectoryOptions
have been merged intolib.installHeadersDirectory
:
- lib.installHeadersDirectory("c/include/brotli", "brotli");
- lib.installHeadersDirectory(b.path("c/include/brotli"), "brotli", .{});
- lib.installHeadersDirectoryOptions(.{
- .source_dir = b.path(""),
- .include_extensions = &.{".h"},
- .install_dir = .header,
- .install_subdir = "spirv-cross",
- });
+ lib.installHeadersDirectory(b.path(""), "spirv-cross", .{
+ .include_extensions = &.{".h"},
+ });
zig-cache renamed
The local zig-cache/
directory has been renamed to .zig-cache/
, so you may need to update your e.g. .gitignore
file and delete the older one.
other
std.ComptimeStringMap(T, values)
->std.StaticStringMap(T).initComptime(values)
std.os.exit(1);
->std.process.exit(1);
std.ChildProcess.run
->std.process.Child.run
std.tar.Options.Diagnostics
->std.tar.Diagnostics
- Many POSIX APIs have been renamed from e.g.
std.os.chdir
tostd.posix.chdir
std.os.pid_t
->std.c.pid_t
std.math.degreesToRadians(f32, 90)
->std.math.degreesToRadians(90)
- type is now inferred- In
@Type
calls, various enums are now lowercase instead of uppercase:.Auto
->.auto
,.Packed
->.@"packed"
- const download_step = @fieldParentPtr(DownloadSourceStep, "step", step_ptr);
+ const download_step: *DownloadSourceStep = @fieldParentPtr("step", step_ptr);
from mach.
Related Issues (20)
- examples: should not depend on anything but mach
- mach: use b.lazyDependency where possible
- Tracking issue: priorities of real-world Mach users
- get pixi working with sysgpu with Linux/Vulkan backend
- ecs: `General protection exception (no address available)` HOT 2
- testing: reconsider expect/got order
- mach: ensure usage-as-dependency does not involve building all examples, basisu
- verify aftersun/pixi are quick to build, and file size of deps on disk is reasonable
- core: improve build API (remove App/CoreApp) and entrypoint API (supply your own entrypoint by default)
- 32 bit windows does not compile
- sysaudio: verify that we have a sane latency in all backends HOT 1
- all: use lazyDependency to optimize dependency fetching
- sysaudio: @sizeOf(T) is not the same as @bitSizeOf(T)
- math: remove usingnamespace for mixins
- gpu: WGSL incorrect control flow
- all: nominate Zig 2024.06
- Ability to turn off logging HOT 1
- gpu: gpu-dawn crashes JVM on Windows 11 HOT 3
- build problem only use mach-core: update to Zig 2024.5.0-mach, hit build problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mach.