Skip to content

Commit

Permalink
Add a place holder binary for private memory server.
Browse files Browse the repository at this point in the history
So that we can go through the transparent release process earlier.

ACKNOWLEDGE_FAILING_COPYBARA_IMPORT=The failure is not caused my this
change. cl/726948285 can be used for fixing tests while importing.

BUG: 396479186
Change-Id: Ib034a75a34bb5252deca71ac5bf5acdecd9d4a5d
  • Loading branch information
Changochen committed Mar 7, 2025
1 parent aef2554 commit 30b03b1
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
27 changes: 27 additions & 0 deletions oak_private_memory/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# Copyright 2025 The Project Oak Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

load("@rules_rust//rust:defs.bzl", "rust_binary")

package(
default_visibility = ["//:internal"],
licenses = ["notice"],
)

rust_binary(
name = "private_memory_server",
srcs = ["src/main.rs"],
)
3 changes: 3 additions & 0 deletions oak_private_memory/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Private memory

This directory contains the source code of private memory.
19 changes: 19 additions & 0 deletions oak_private_memory/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// Copyright 2025 The Project Oak Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

fn main() {
println!("This is placeholder binary for private memory!");
}

0 comments on commit 30b03b1

Please sign in to comment.