Skip to content

Commit

Permalink
Add no_std (#49)
Browse files Browse the repository at this point in the history
* add no_std
* fix clippy lint
  • Loading branch information
aclysma authored Mar 18, 2023
1 parent 958fa8c commit 5f3fe75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/puffin/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ impl Renderer {
),
&IMGUI_VERTEX_LAYOUT,
)?;
command_buffer.cmd_bind_pipeline(&*imgui_pipeline.get_raw().pipeline)?;
command_buffer.cmd_bind_pipeline(&imgui_pipeline.get_raw().pipeline)?;
descriptor_set.bind(command_buffer)?;

for (draw_list_index, draw_list) in draw_data.draw_lists().enumerate() {
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
// exact same interface. Only one may be active at a time.
//

// This library itself does not require std, but if any features are enabled, the upstream crate
// likely will bring in std.
#![no_std]

/// Proc macro for creating a scope around the function, using the name of the function for the
/// scope's name
///
Expand Down

0 comments on commit 5f3fe75

Please sign in to comment.