1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Build the Rust ntstatus generated code

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
David Mulder 2024-07-30 09:38:48 -06:00
parent f37e311af1
commit 61a5dc11a7
3 changed files with 32 additions and 1 deletions

View File

@ -16,9 +16,10 @@ dbg = { workspace = true }
[workspace]
members = [
"chelps", "dbg"
"chelps", "dbg", "ntstatus_gen",
]
[workspace.dependencies]
dbg = { path = "dbg" }
chelps = { path = "chelps" }
ntstatus_gen = { path = "ntstatus_gen" }

View File

@ -0,0 +1,6 @@
[package]
name = "ntstatus_gen"
edition.workspace = true
license.workspace = true
homepage.workspace = true
version.workspace = true

View File

@ -0,0 +1,24 @@
/*
Unix SMB/CIFS implementation.
Generated NTSTATUS Errors
Copyright (C) David Mulder 2024
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#[path = "../../../bin/default/libcli/util/ntstatus_gen.rs"]
mod ntstatus_gen;
pub use ntstatus_gen::*;