Skip to content

glfw: update build script to use latest zig build API#704

Closed
Avokadoen wants to merge 1 commit intohexops:mainfrom
Avokadoen:glfw-build
Closed

glfw: update build script to use latest zig build API#704
Avokadoen wants to merge 1 commit intohexops:mainfrom
Avokadoen:glfw-build

Conversation

@Avokadoen
Copy link
Contributor

  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

@Avokadoen Avokadoen marked this pull request as draft February 7, 2023 21:11
@Avokadoen
Copy link
Contributor Author

This PR is missing changes to the pub const pkg -> pub const module conversion as well as all the dependency logic for mach modules (core.pkg, ecs.pkg, sysaudio.pkg, earcut.pkg)


pub const BuildError = error{CannotEnsureDependency} || std.mem.Allocator.Error;
fn buildLibrary(b: *Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget, options: Options) BuildError!*std.build.LibExeObjStep {
pub const Buildror = error{CannotEnsureDependency} || std.mem.Allocator.Error;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buildror? 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I honestly have no idea how I managed to do that 😭 😆

@emidoots emidoots mentioned this pull request Feb 8, 2023
1 task
@emidoots
Copy link
Member

emidoots commented Feb 8, 2023

Thanks for sending! I've gone ahead and merged this and the other open PR into a branch: #706

Once I address a few other updates I will merge this as part of that.

@emidoots emidoots closed this Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants