Skip to content

Commit

Permalink
compilation database entry is clone-able
Browse files Browse the repository at this point in the history
  • Loading branch information
rizsotto committed Jul 27, 2024
1 parent 2d83596 commit 9e1bbd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_compilation_db"
version = "1.0.0"
version = "1.0.1"
authors = ["László Nagy <rizsotto at gmail dot com>"]
description = "Rust crate to read/write JSON compilation database file."
keywords = ["clang", "clang-tooling", "compilation-database"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mod iterator;
pub const DEFAULT_FILE_NAME: &str = "compile_commands.json";

/// Represents an entry of the compilation database.
#[derive(Debug, PartialEq, Eq)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Entry {
/// The main translation unit source processed by this compilation step.
/// This is used by tools as the key into the compilation database.
Expand Down

0 comments on commit 9e1bbd2

Please sign in to comment.