Giter Site home page Giter Site logo

Comments (6)

chinedufn avatar chinedufn commented on July 2, 2024 1

Quick update. I plan to do this whenever I need to use Metal's debugging tools.

No idea when that will be - but when it happens I'll PR a markdown file with some screenshots and maybe @kvark can take that and copy paste it into a Wiki for this repo (although I personally prefer either docs/some-markdown-files.md or an mdbook but I don't have a strong opinion here so whatever works!)

from metal-rs.

kvark avatar kvark commented on July 2, 2024

Thank you for filing your thoughts here!

We've been using XCode extensively in gfx/wgpu land to debug Metal pure-Rust applications. There is no need to have any infrastructure to do so, or any dedicated example.
There was a nice picture showing how to set it up somewhere (cc @grovesNL). Perhaps all we need is to make a Wiki page with a few pictures describing this?

The steps are basically:

  1. Create a new project with "External Build System" type and "$(HOME)/.cargo/bin/cargo" tool
  2. Edit Scheme -> Info -> Executable point to the executable you build
  3. Optionally set up the environment, arguments (in Arguments) and working dir (in Options)

That's it!

from metal-rs.

chinedufn avatar chinedufn commented on July 2, 2024

Woah - that’s awesome!

A wiki page describing this sounds good to me. Along with a link to it from the README.

Sweet - glad this turned out to be even easier than I originally thought

from metal-rs.

chinedufn avatar chinedufn commented on July 2, 2024

Going to leave this open until I move the docs from the markdown file to the wiki as discussed in #151 (review)

from metal-rs.

kvark avatar kvark commented on July 2, 2024

@chinedufn you don't have to. I just wanted to make sure that you can do that, but if you prefer the markdown in code, I'm totally fine with that too.

from metal-rs.

chinedufn avatar chinedufn commented on July 2, 2024

Oh - sweet I'm leaving it as markdown then.

Cheers!

from metal-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.